1
I have two separate components and need that when clicking on a button, it modifies the variable of another component.
For example I have the following component:
var componenteFiltroBusca = new Vue({
el: '#componenteFiltroBusca',
data: {
buscadorText: '(por n° de cupón, importe)',
}
});
And when I click a button that’s inside the:
var tabMovimientos = new Vue({
el: '#tabMovimientos',
})
I need him to change the text inside the seekerText, how to do this?
What is the relationship between them? Do they have any component in common? they are descendants?
– Sergio
they have no relationship
– haykou