ractive-ez-timepicker
v2.0.3
Published
Ractive Ez UI Time Picker
Downloads
4
Readme
Ractive Ez Time Picker
Time picker component for ractive.js
Install
npm i ractive-ez-timepicker
import 'ractive-ez-timepicker';
import 'ractive-ez-timepicker/themes/blue.less';
Requires less-loader
Usage
<EzTimePicker value="{{ value }}" on-change="@this.handleDateChange($1)" />
<EzTimePicker value="{{ value }}" format="hh:mm" required="false" />
<EzTimePicker value="{{ value }}" format="hh:mm:ss" disabled="true"/>
value
: Date or nullrequired
: True if the input is requireddisabled
: True if the time picker is disabledformat
: Format to use when viewing/editing the time, can use hh, mm, ss