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