cp-autoscale-input
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"/>