Skip to main content

Properties

$target

TypeHTMLElement

Element on which datepicker was initialized.

$input

TypeHTMLInputElement

Datepicker input element

$datepicker

TypeHTMLDivElement

Datepicker calendar element

currentView

Type'years' | 'months' | 'days'

Current view of calendar

viewDate

TypeDate

Current view date

selectedDate

TypeDate | null

Selected date of calendar, if not selected returns null

focusDate

TypeDate | null

Focus date of calendar, if not focused returns null

converter

TypeConverter

Converter instance for convert date to datepicker's locale format