DefaultTimePicker class

Extends

TimePicker

Index

Constructors

Protected Properties

Protected Accessors

Public Methods

Protected Methods

Constructors


constructor

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

Parameters:


Protected Properties


currentTime

● currentTime: Date


hoursInput

● hoursInput: HTMLInputElement


minutesInput

● minutesInput: HTMLInputElement


options

● options: TimePickerOptions


slot

● slot: HTMLElement


timeText

● timeText: HTMLElement


Protected Accessors


currentTime

● currentTime: Date


hoursInput

● hoursInput: HTMLInputElement


minutesInput

● minutesInput: HTMLInputElement


options

● options: TimePickerOptions


slot

● slot: HTMLElement


timeText

● timeText: HTMLElement


Public Methods


getTime

▸ getTime(): Date

Returns Date


render

▸ render(): HTMLElement

Returns HTMLElement


setTime

▸ setTime(time: Date): void

Parameters:

  • time: Date

Returns void


Protected Methods


timeChanged

▸ timeChanged(): void

Returns void


updateDisplayedTime

▸ updateDisplayedTime(): void

Returns void