Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
AccordionPanel Component Using Provide/Inject
Vue.component('accordion-panel', {
inject: ['accordionItemState'],
template: `
<div class="accordion-panel" :class="{ expanded: accordionItemState.expanded }">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.