TimePicker class

Index

Constructors

Protected Properties

Public Methods

Protected Methods

Constructors


constructor

⊕ new TimePicker(slot: HTMLElement,options?: TimePickerOptions): TimePicker

Parameters:


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