sham-ui-datetimepicker
v2.0.0
Published
DateTimePicker for sham-ui
Downloads
6
Readme
sham-ui-datetimepicker
DateTimePicker for sham-ui
Install
# npm
npm install sham-ui-datetimepicker
# yarn
yarn add sham-ui-datetimepicker
API
Table of Contents
DateTimePickerOptions
Options for DateTimePicker
Type: Object
Properties
value
Date Selected date. By default current dateonChange
Function Callback for onChange. By default () => {}showTime
boolean Show time selector. By default truedisplayMode
string Mode for display. By default 'dom' (day of month)isDateSelectable
Function Callback for test date for selectable. By default () => trueclassForDate
Function Callback for add custom class for date. By default () => ''
DateTimePicker
DateTime picker for sham-ui
Properties
options
DateTimePickerOptions
Examples
{% import DateTimePicker from 'sham-ui-datetimepicker' %}
...
<DateTimePicker/>
...