bootstrap-vue
Version:
BootstrapVue, with over 40 plugins and more than 75 custom components, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-ARIA accessibility markup.
61 lines (60 loc) • 1.69 kB
JSON
{
"name": "@bootstrap-vue/collapse",
"version": "1.0.0",
"meta": {
"title": "Collapse",
"description": "Easily toggle content visibility on your pages. Includes support for making accordions.",
"directives": [
"VBToggle"
],
"components": [
{
"component": "BCollapse",
"events": [
{
"event": "show",
"description": "Emitted when collapse has started to open"
},
{
"event": "shown",
"description": "Emitted when collapse has finished opening"
},
{
"event": "hide",
"description": "Emitted when collapse has started to close"
},
{
"event": "hidden",
"description": "Emitted when collapse has finished closing"
},
{
"event": "bv::collapse::state",
"description": "Emitted on $root when collapse has changed its state",
"args": [
{
"arg": "id",
"description": "changed state collapse id"
},
{
"arg": "state",
"description": "true/false, i.e. opened/closed"
}
]
}
],
"rootEventListeners": [
{
"event": "bv::toggle::collapse",
"description": "Toggles visible state of collapse with specified id when this event is emitted on $root",
"args": [
{
"arg": "id",
"description": "collapse id to toggle"
}
]
}
]
}
]
}
}