Skip to content

AngularJS input directive to add a clear image button to input elements/textboxes.

Notifications You must be signed in to change notification settings

aseemgautam/angular-input-clear-icon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-input-clear-icon

angular-clear-input

A simple AngularJS input directive that adds a clear button to textboxes. Clean implementation with no scope.$apply or scope.$watch usage.

Original jquery implementation - http://stackoverflow.com/questions/6258521/clear-icon-inside-input-text

Usage

<input clear-text id="search-box" ng-model="searchString" class="clearable" type="text" />

Demo

Run demo.html for a working demo.

About

AngularJS input directive to add a clear image button to input elements/textboxes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published