Back to migration overview
BCollapse Migration
Migration notes for BCollapse from BootstrapVue to BootstrapVueNext.
BCollapse Migration
Summary
Migration notes for BCollapse from BootstrapVue to BootstrapVueNext.
Affected APIs
- BCollapse
- BAccordion
- BLink
Breaking Change
The prop toggle has replaced the prop appear with slightly different semantics. In order to create a collapse that is closed and transitions to open on the initial mount, set visible to false and toggle to true.
The close scoped slot element has been replaced by hide for consistency with the other props and events on this component.
$root instance events bv::collapse::state and bv::toggle::collapse are deprecated.
See Show and Hide shared properties.
Migration Notes
- Extracted from the canonical BootstrapVue → BootstrapVueNext migration guide.
- Review related migrations for shared prop, event, and slot changes.
Safe Automatic Rewrite
Yes. This entry is mostly mechanical, but review the result when surrounding behavior or adjacent props may affect the final markup.