ta-maxlength
v0.0.2
Published
Define maxlength for textAngular
Downloads
9
Maintainers
Readme
ta-maxlength
Define maxlength for textAngular
Install
bower install ta-maxlength
Dependencies
- jQuery (https://jquery.com/)
- jquery-truncate-html (https://github.com/alexander-elgin/jquery-truncate-html)
Usage
Include the module in your app
angular.module('myApp',['ta-maxlength'])
View
<text-angular ng-model="model" name="your-textAngular-instance-name" ta-maxlength="5">
Note, the attribute name
is required