Index
Constructors
Protected Properties
Public Methods
Protected Methods
Constructors
constructor
⊕ new TimePicker(slot: HTMLElement
,options?: TimePickerOptions): TimePicker
Parameters:
- slot:
HTMLElement
- options: TimePickerOptions, Optional
Protected Properties
currentTime
● currentTime: Date
options
● options: TimePickerOptions
slot
● slot: HTMLElement
Public Methods
getTime
▸ getTime(): Date
Returns Date
render
▸ render(): any
Returns any
setTime
▸ setTime(time: Date
): void
Parameters:
- time:
Date
Returns void
Protected Methods
timeChanged
▸ timeChanged(): void
Returns void