/angular-input-select-all

Simple input select all on click prevent interrupted user's operation

Primary LanguageJavaScript

angular-input-select-all

Build Status Coverage Status

Learning how to use grunt tasks、bash script、travis ci for automated deployment.

Requirements

  • AngularJS 1.3+
  • A modern browser (Chrome 31+, Firefox 29+, Safari 7+, Opera 12+, IE 10+)

General requirements before running on development

$ npm install

Test

$npm run test

Release

run command $npm run release then generate folder list

  • /build
  • /coverage
  • /examples/js/plugins

Installing

Add the scripts to your application.

<script src="angular.js"></script>
<script src="build/angular-input-select-all.min.js"></script>

Directive Usage

<input type="text" ng-model="appCtrl.text"
       placeholder="Please input some text and test select all operation..." input-select-all />