OrionDateTable
<o-date-table>
is in fact a sub-component of <o-datepicker>
It provides a way to display the calendar in order to pick a date.
However he can be used as a "standalone", to display the datas of calendar`.
It provides a convenient way to display periods with a fine management of the dates that should be excluded. See the example below.
Usage
DateTablePeriods DateTableMonthSwitch DateTableMultiple DateTablePlayground
VModels
Name
vModel
Nil<Date> = undefined
range
Nil<Orion.DateRange> = undefined
multiple
Nil<Date[]> = undefined
dayHover
Nil<Date> = undefined
Props
Name
canGoNextMonth
boolean = true
canGoPrevMonth
boolean = true
dateRangeSameMonth
boolean = undefined
dateSelected
Date = undefined
disableMonthAndYear
boolean = undefined
displayWeekNumber
boolean = undefined
maxDate
Date = undefined
minDate
Date = undefined
month
boolean = undefined
periods
Orion.Period[] = undefined
rangeEnd
boolean = undefined
rangeStart
boolean = undefined
type
Orion.DateTableType = 'date'
PublicInstance
Name
Type
getCurrentDate
() => Date
getCurrentMonth
() => number
getCurrentYear
() => number
selectMonth
(month: number) => void
selectYear
(year: number) => void
_el
() => HTMLElement | undefined