bs-autoscale-input

An angular directive time picker.

Usage no npm install needed!

<script type="module">
  import bsAutoscaleInput from 'https://cdn.skypack.dev/bs-autoscale-input';
</script>

README

bs-autoscale-input Build Status

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

Installation

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

Install bs-time-pick with bower or npm

  bower install --save bs-autoscale-input
  npm install --save bs-autoscale-input

Or manually download the built file

Usage

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

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

Example

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

Options

Max-length

Limit the length the input auto-scales to

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