Bootstrap 4:Responsive Web Design
上QQ阅读APP看书,第一时间看更新

Chapter 8. Working with JavaScript

The whole Internet would not have been the same without JavaScript, and so is Bootstrap. The JavaScript plugins from Bootstrap account for a chunk of Bootstrap's success. By having them, Bootstrap has allowed all of us to use modals, alerts, tooltips, and other plugins out of the box.

Therefore, the main focus of this chapter is to explain the main Bootstrap JavaScript plugins by using them in our web application. In the previous chapters, we used a few plugins. The purpose of this chapter is to go deep into this subject. The key points that we will cover now are:

  • General usage of Bootstrap JavaScript plugins
  • Data attributes
  • Modals
  • Tooltips
  • Popover
  • Affix