https://github.com/hanford/angular-maxlength
Small directive for _really_ enforcing maxlength
https://github.com/hanford/angular-maxlength
Last synced: 22 days ago
JSON representation
Small directive for _really_ enforcing maxlength
- Host: GitHub
- URL: https://github.com/hanford/angular-maxlength
- Owner: hanford
- License: mit
- Created: 2016-04-29T01:39:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-29T23:05:50.000Z (almost 9 years ago)
- Last Synced: 2025-03-22T15:50:02.420Z (about 1 month ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
## angular-maxlength
[![NPM][dl-icon]][dl-url]
#### Installation
Installation is super easy, simply add the dependency to your build and add to your your input```
# use npm
$ npm install angular-maxlength
```Add angular-maxlength to your dependencies
```
angular
.module('yourApp', ['ngMaxLength'])
.controller('SampleController', function () {})
```Finally in your template you can add
``````
[dl-icon]: https://nodei.co/npm/angular-maxlength.png?downloads=true
[dl-url]: https://npmjs.org/package/angular-maxlength