This update introduces a new instance manager feature that allows you manage all of the interactive components from a single place. This is useful if you want to programmatically show or hide a modal, popover, or tooltip. This also works if you use the data attributes interface.
This change introduces a few breaking changes to the JavaScript API when creating objects:
- new
$carouselEl
HTML element when creating aCarousel
object as the first parameter - new
$accordion
HTML element when creating aAccordion
object as the first parameter - new
$tabsEl
HTML element when creating aTabs
object as the first parameter
The breaking changes do not apply to the data attributes interface, only for objects created programmatically via JavaScript.
Learn more about the new JavaScript API on the docs.