TimePicker class

Index

Constructors

Protected Properties

Protected Accessors

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


Protected Accessors


cssPrefix

⇄ get cssPrefix(): string

Returns string


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