Skip to content

sswebcoder/angular-clear-button

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-clear-button is a directive for AngularJS to make ios style clear button for angular js

Demos

Check out the running demos http://htmlpreview.github.io/?https://raw.githubusercontent.com/tushariscoolster/angular-clear-button/master/demo/index.html.

angular-clear-button

Getting Started

<script type='text/javascript' src='path/to/angular.min.js'></script> <script type='text/javascript' src='path/to/angular-clear-button.js'></script>
  • Ensure that your application module specifies angular-clear-button as a dependency:

angular.module('myApplication', ['angular-clear-button']);

  • Use the directive by specifying an clear-btn attribute on an element.

<input type="text" clear-btn ng-model="userInfoData.first_name" class="form-control" required>

About

ios style clear button for angular js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 100.0%