JSPM

ractive-ez-timepicker

2.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q47430F
  • License WTFPL

Ractive Ez UI Time Picker

Package Exports

  • ractive-ez-timepicker

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ractive-ez-timepicker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Ractive Ez Time Picker

Time picker component for ractive.js

Demo

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 null
  • required: True if the input is required
  • disabled: True if the time picker is disabled
  • format: Format to use when viewing/editing the time, can use hh, mm, ss