Bootstrap plugins overview


Bootstrap plugins overview

The issues discussed in previous chapters under Layout Components are just the beginning. Bootstrap comes in bulk with 12 jQuery plugins that extend features and add more connections to your site. To get started with Bootstrap's JavaScript plugins, you do not need to be a professional JavaScript developer. Using the Bootstrap Data API, most plugins can be configured without writing a single line of code.

Bootstrap plugins can be installed on your site in two ways -

1.Personally - Using single Bootstrap files * .js. Some plugins and CSS objects depend on other plugins. If you are installing plugins individually, be sure to check this dependence on the documentation.

2..Or integrated (all at once) - Using bootstrap.js or minified bootstrap.min.js. Do not try to install both, as both bootstrap.js and bootstrap.min.js contain all the plugins in one file.

Data Attributes

1. All Bootstrap plugins are available using the installed Data API. Therefore, you do not need to install a single line of JavaScript to recruit any features of the plugin.

2.In some cases it may be advisable to turn off this Data API functionality. If you need to turn off the Data API, you can disassemble the attributes by adding the next JavaScript line -

$ (document) .off ('. data-api')

To turn off one / one plugin, just enter a plugin name like namespace and a data-api namespace like this -

$ (document) .off ('. alert.data-api')