magento 2 collapsible code example
Example: keep all tabs open in accordion in magento 2
<div id="element" data-mage-init='data-mage-init='{"accordion":{"openedState": "active", "collapsible": true, "active": [0,1,2], "multipleCollapsible": true}}'>