🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

The input-clearer plugin creates inline clear buttons inside Bootstrap 4 text fields that enable the users to clear away the current value.

Bootstrap bootstrap-4 input

Documentation

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" }); 

You May Also Like