angular-input-select-all
v0.1.0
Published
Simple input select all on click, prevent interrupted user's operation
Downloads
22
Maintainers
Readme
angular-input-select-all
Learning how to use grunt tasks、bash script、travis ci for automated deployment.
Demo
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
$ npm run bower:install
Test
$npm run test
Release
run command $npm run release
then generate folder list
- /build
- /coverage
- /examples/js/plugins
Installing
- Direct download(https://github.com/weihanchen/angular-input-select-all/releases)
- Bower(
bower install angular-input-select-all
) - NPM(
npm install angular-input-select-all
)
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 />