BootstrapVue Collapse
-Toggle the visibility of content across your project with a few classes and our JavaScript plugins.
Examples
Accordion
Collapsible Group Item #1
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Collapsible Group Item #2
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Collapsible Group Item #3
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
Collapse Props
PROP NAME | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
animationDuration | Number | 250 | Collapse animation duration |
multipleActive | Boolean | true | Whether you can have multiple collapse items opened at the same time |
activeIndex | Number | -1 | Active collapse item index |
Collapse Slots
NAME | DESCRIPTION |
---|---|
default | Default content for collapse items |
Collapse Item Props
PROP NAME | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
title | String | N/A | Collapse item title |
id | String | N/A |
Collapse Item Slots
SLOT | DESCRIPTION |
---|---|
default | Default content for item content |
title | Content for the clickable area of the collapse item |
If you want to see more examples and properties please check the official BootstrapVue Documentation.