DatePickerOverlayContentMixin

Properties

Link copied to clipboard
abstract var calendars: Array<JsAny?>
Link copied to clipboard
abstract var enteredDate: Date
Link copied to clipboard
Link copied to clipboard
abstract var focusedDate: JsAny

Date value which is focused using keyboard.

Link copied to clipboard
abstract var i18n: JsAny
Link copied to clipboard
abstract var initialPosition: JsAny

Date which should be visible when there is no value selected.

Link copied to clipboard

A function to be used to determine whether the user can select a given date. Receives a DatePickerDate object of the date to be selected and should return a boolean.

Link copied to clipboard
abstract var label: JsAny?

Input label

Link copied to clipboard
abstract var maxDate: JsAny

The latest date that can be selected. All later dates will be disabled.

Link copied to clipboard
abstract var minDate: JsAny

The earliest date that can be selected. All earlier dates will be disabled.

Link copied to clipboard
abstract var scrollDuration: Double
Link copied to clipboard
abstract var selectedDate: JsAny

The value for this element.

Link copied to clipboard
abstract var showWeekNumbers: Boolean
Link copied to clipboard
abstract var years: Array<JsAny?>

Functions

Link copied to clipboard

Drops a date metadata load that navigating has scheduled but that has not run yet.

Link copied to clipboard
abstract fun focusCancel()

Focuses the cancel button

Link copied to clipboard
abstract fun focusDate(date: JsAny?, keepMonth: JsAny?)
Link copied to clipboard
abstract fun focusDateElement(reveal: JsAny? = definedExternally)
Link copied to clipboard

Requests the date metadata for the months currently rendered. Months already loaded or in flight are skipped.

Link copied to clipboard
abstract fun reset()
Link copied to clipboard
abstract fun revealDate(date: JsAny?, animate: JsAny? = definedExternally)

Scrolls the month and year scrollers enough to reveal the given date.

Link copied to clipboard
abstract fun scrollToDate(date: JsAny?, animate: JsAny?)

Scrolls the list to the given Date.

Link copied to clipboard
abstract fun updateTodayButton()

Applies the today button's label and whether today can be selected.