Active components in Bootstrap are written in and supported by JavaScript. This includes some programming interfaces to work with. Technically these are jQuery plug-ins. If the entire Bootstrap library is not used, it is possible to load only those parts that are really needed.
Setup and Activation
The files bootstrap.js and bootstrap.min.js (the minimized version) already contain all the components. To use this you also need to load jQuery. To use the components there are two options: either you use the HTML5 attributes beginning with data- or the JavaScript API. For the purposes of modern HTML5 programming, ...