Skip to content

An angular directive for auto sizing and input based upon the content within it

License

Notifications You must be signed in to change notification settings

CanopyTax/cp-autoscale-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cp-autoscale-input Build Status

An angular directive for auto sizing and input based upon the content within it

Installation

cp-time-pick requires jquery and Angular 1.3.*

Install cp-time-pick with bower or npm

  bower install --save cp-autoscale-input
  npm install --save cp-autoscale-input

Or manually download the built file

Usage

Make your angular app depend upon the cp-autoscale-input module

angular.module("app", ["cp-autoscale-input"]);

Example

  <input type="text" ng-model="myDate" cp-autoscale-input/>

Options

Max-length

Limit the length the input auto-scales to

  <input type="text" ng-model="myDate" cp-autoscale-input max-length="20"/>

About

An angular directive for auto sizing and input based upon the content within it

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published