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" />

/angular-maxlength/

    Package Sidebar

    Install

    npm i angular-maxlength

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • hanford