[Vuejs]-Pass boolean value to open a section from child to parent

0👍

As you indicate, it is your child who owns the section to be displayed. So no need to create an event to warn the parent. I’ve created a very simple example that should help you a lot: https://codesandbox.io/s/vuejs-open-sectioncomponent-by-clicking-on-button-4y1f5, where App.vue is the parent, HelloWorld.vue the child and superSction.vue the section that will be print by clicking on Profile Button in the child.

Leave a comment