A simplistic pure javascript datetime selector
instance = new dtsel.DTS('input[name="date_field"]', {
direction: 'BOTTOM',
dateFormat: "yyyy-mm-dd",
showTime: false,
timeFormat: "HH:MM:SS"
});
- Config :
Object
- InstanceState :
Object
The local state
- BodyType :
"DAYS"
|"MONTHS"
|"YEARS"
The local state
Kind: global typedef
Properties
Name | Type |
---|---|
value | Date |
year | Number |
month | Number |
day | Number |
time | Number |
hours | Number |
minutes | Number |
seconds | Number |
bodyType | BodyType |
visible | Boolean |
cancelBlur | Number |
Kind: global typedef
Properties
Name | Type |
---|---|
dateFormat | String |
timeFormat | String |
showDate | Boolean |
showTime | Boolean |
paddingX | Number |
paddingY | Number |
defaultView | BodyType |
direction | "TOP" | "BOTTOM" |
Kind: global typedef