angular-maxlength

1.0.0 • Public • Published

angular-maxlength

NPM

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

<input type="number" ng-model=".." maxlength="5" />

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i angular-maxlength

      Weekly Downloads

      3

      Version

      1.0.0

      License

      MIT

      Last publish

      Collaborators

      • hanford