v1.3.0
The Tink Angular timepicker provides a beautiful timepicker.
Tink is an in-house developed easy-to-use front-end framework for quick prototyping and simple deployment of all kinds of websites and apps, keeping a uniform and consistent look and feel.
- nodeJS http://nodejs.org/download/
- bower:
npm install -g bower
-
Go to the root of your project and type the following command in your terminal:
bower install tink-timepicker-angular --save -
Add the following files to your project:
<link rel="stylesheet" href="bower_components/tink-core/dist/tink.css" />(or one of the Tink themes)<script src="bower_components/tink-timepicker-angular/dist/tink-timepicker-angular.js"></script><script src="bower_components/tink-helper-safe-apply-angular/dist/tink-helper-safe-apply-angular.js"></script> -
Add
tink.timepickerto your app module's dependency.angular.module('myApp', ['tink.timepicker']);
<tink-timepicker data-ng-model="selectedTime"></tink-timepicker>| Attr | Type | Default | Details |
|---|---|---|---|
| data-ng-model (required) | object |
'' |
This variable holds a date object with the time. |
Note: The Tink timepicker also works with the disabled attribute.
A working example can be found in the Tink documentation.
- If you're not sure, drop us a note
- Fork this repo
- Do your thing
- Create a pull request
- Jasper Van Proeyen - jasper.vanproeyen@digipolis.be - Lead front-end
- Tom Wuyts - tom.wuyts@digipolis.be - Lead UX
- The hand