How it works…

The basics of how the plugin works can be gleaned from step 5, with all the options in the settings object copied from the plugin's docs. We basically have an object with a number of key-value pairs, where each of them is responsible for a specific task inside the plugin, such as, for example, setting the required characters for the validation custom form with the MinCharsCustom key.

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.