DateTimePicker class
Constructors
Section titled “Constructors”constructor
Section titled “constructor”⊕ new DateTimePicker(options?: DateTimePickerOptions): DateTimePicker
Parameters:
Section titled “Parameters:”- options: DateTimePickerOptions, Optional
Protected Properties
Section titled “Protected Properties”calendar
Section titled “calendar”● calendar: Calendar | null
= null
currentDateTime
Section titled “currentDateTime”● currentDateTime: Date
options
Section titled “options”● options: DateTimePickerOptions
● slot?: HTMLElement
timePicker
Section titled “timePicker”● timePicker: TimePicker | null
= null
Protected Accessors
Section titled “Protected Accessors”calendar
Section titled “calendar”● calendar: Calendar | null
= null
currentDateTime
Section titled “currentDateTime”● currentDateTime: Date
options
Section titled “options”● options: DateTimePickerOptions
● slot?: HTMLElement
timePicker
Section titled “timePicker”● timePicker: TimePicker | null
= null
Public Methods
Section titled “Public Methods”▸ apply(date: Date
): void
Parameters:
Section titled “Parameters:”- date:
Date
Returns void
cancel
Section titled “cancel”▸ cancel(): void
Returns void
getDateTime
Section titled “getDateTime”▸ getDateTime(): Date
Returns Date
setDateTime
Section titled “setDateTime”▸ setDateTime(dateTime: Date
): void
Parameters:
Section titled “Parameters:”- dateTime:
Date
Returns void
▸ show(anchor?: HTMLElement
): void
Parameters:
Section titled “Parameters:”- anchor:
HTMLElement
, Optional
Returns void
Protected Methods
Section titled “Protected Methods”createCalendar
Section titled “createCalendar”▸ createCalendar(options: CalendarOptions): Calendar
Parameters:
Section titled “Parameters:”- options: CalendarOptions
Returns Calendar
createTimePicker
Section titled “createTimePicker”▸ createTimePicker(options: TimePickerOptions): TimePicker
Parameters:
Section titled “Parameters:”- options: TimePickerOptions
Returns TimePicker
dateTimeChanged
Section titled “dateTimeChanged”▸ dateTimeChanged(): void
Returns void
destroy
Section titled “destroy”▸ destroy(): void
Returns void
render
Section titled “render”▸ render(): void
Returns void