I've got parent component with a button
<btn @click="validate">Run child method - and validate something!</btn>
<child-component></child-component>
And I have a child component which has a method:
methods:{
validate () {...}
}
I want to call this method from my parent component. How to do that?
Are there any pros/cons on given solution?