0.2.2 • Published 8 years ago

ps-input-time v0.2.2

Weekly downloads
6
License
ISC
Repository
github
Last release
8 years ago

psInputTime

AngularJS time selector

DEMO

Angular Strap did not easily play well with other date time objects and editing the time in an INPUT was preferable to AngularUI's control.

// include js scripts
<script src="js/angular.js"></script>
<script src="js/ps-input-time.js"></script>
// add to your app
var app = angular.module('myApp', ['ps.inputTime']);
// add input
<input type="text" ng-model="myTime" ps-input-time>

Supports input formats: HHmm, hh:mmAM, HH:mm for easy keyboard input. Use arrow keys (up,down,left,right,tab) to select and adjust time.

If your interested please rip this apart. Looking for lessons in proper use of AngularJs, javaScript and GitHub.

ToDo