| Name | Type | Required | Default value |
|---|---|---|---|
| time | String | true |
| Name |
|---|
| dt |
| hour |
| minute |
| period |
| display |
| suggestions |
| Name |
|---|
| open |
| value |
| originalDate |
- TimeInput
- .update() ⇒
string - .toggle() ⇒
undefined - .togglePeriod() ⇒
undefined - .set(time) ⇒
undefined - .increment(minutes) ⇒
undefined - .decrement(minutes) ⇒
undefined
Emit the updated datetime.
Kind: instance method of TimeInput
Returns: string - - Datetime in ISO format.
Access: public
Opens or closes the chooser.
Kind: instance method of TimeInput
Returns: undefined - - Returns nothing.
Changes from AM to PM.
Kind: instance method of TimeInput
Returns: undefined - - Returns nothing.
Changes to a specific datetime.
Kind: instance method of TimeInput
Returns: undefined - - Returns nothing.
| Param | Type | Description |
|---|---|---|
| time | string |
Datetime to change to. |
Increases the datetime by x minutes.
Kind: instance method of TimeInput
Returns: undefined - - Returns nothing.
| Param | Type | Description |
|---|---|---|
| minutes | number |
Minutes to increase by. |
Decreases the datetime by x minutes.
Kind: instance method of TimeInput
Returns: undefined - - Returns nothing.
| Param | Type | Description |
|---|---|---|
| minutes | number |
Minutes to decrease by. |