cp-autoscale-input

1.0.10 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i cp-autoscale-input

Weekly Downloads

1

Version

1.0.10

License

MIT

Last publish

Collaborators

  • blittle
  • joeldenning
  • kentmclean