Just all the css and js you need from Bootstrap4 to implement their collapse functionality.
See documentation here: https://getbootstrap.com/docs/4.0/components/collapse/s
To re-create from scratch, run npm install
followed by gulp build
. This creates 4 files:
dist/css/collapse.css
dist/css/collapse.min.css
dist/css/collapse.js
dist/css/collapse.min.js
To use:
- include
dist/css/collapse.css
ordist/css/collapse.min.css
as a stylesheet - include
jquery
in your page scripts - include
dist/js/collapse.js
ordist/js/collapse.min.js
in your page scripts