Maintainer: Michael Heigl
Plugin Website: https://github.com/mheigl/bootstrap4-input-clearer
About
This jQuery plugin adds a clear icon to input fields for your Bootstrap 4 enabled website.
Getting Started
Direct Download
Note: bootstrap4-input-clearer has a dependency on jquery 3.1+ and Bootstrap 4
NPM
Install with NPM:
npm install bootstrap4-input-clearer
Github
Clone the boostrap4-input-clearer:
git clone [email protected]:mheigl/bootstrap4-input-clearer.git
Available Options
Option | Type | Default |
---|---|---|
clearHtml | string | × |
cssClass | string | input-clearer |
Using Options
$("input").clearer(); // Example option usage $("input").clearer({ clearHtml: "click me" });