Getting ready

To begin this recipe, navigate to the Bootstrap Toggle plugin repository, available at https://github.com/minhur/bootstrap-toggle.

Specifically, we need two files from this repository:

There is also a Bower installation available for this plugin, by running the bower install bootstrap-toggle code (as described in the official plugin website, at http://www.bootstraptoggle.com).

Get Bootstrap 4 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.