Use a wrapper component to provide properties and methods down the tree vue2
I have a TranslatableInput
component that has a complex logic for rendering different types of input fields. I would like to create a Wrapper component that @Provide
some methods/properties which I could @Inject
into a sub component of the TranslatableInput
down the tree, and perform different operations or call those specific injected methods with values from the lower level child.