Menu
Pinkesh's Notes
  • Home
  • Crossword
  • Technology
  • Site Map
  • Contact Me
  • About Me
Pinkesh's Notes

VueJS: Call child component’s method from a parent

Posted on August 15, 2019August 19, 2019 by jainpinkesh

Put ref=”childComponent” on the child component’s instance in the parent component and access it from that ref’s method like this:

<childcomponent ref="childComponent" />

var self=this;

self.$refs.chldComponent.<method>

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • VueJS: Call child component’s method from a parent
  • VueJS: Unknown custom element
  • VueJS: Pass data from child component to parent component.
  • Economics – 12th HSC
  • Thoughts and It’s effects

Categories

  • Crossword
  • General
  • Technology


©2025 Pinkesh's Notes | WordPress Theme by Superb Themes