<dy-date-picker>

A component that allows users to select a date or date-time from a calendar interface. It supports both date-only and date-time selection modes.

<dy-date-picker> Example

<dy-date-picker> API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type
placeholder(placeholder) Yes string
time(time) Yes boolean
clearable(clearable) Yes boolean
disabled(disabled) Yes boolean
value Yes number
change Emitter<number>
clear Emitter

Instance Methods

Method Type
showPicker () => void

Other

Type Value
Event change, clear
CSS State active

<dy-date-panel> Example

<dy-date-panel> API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type
time(time) Yes boolean
change Emitter<number>
datehover Emitter<number>
value Yes number
highlights Yes number[][]
initValue Yes number

Other

Type Value
Event change, datehover
Part day-cell