@elemental/ui / Class

LmnCalendarComponent

Decorators:@Component
Selectors:lmn-calendar

No documentation has been provided.

Properties

NameTypeDescription
date
r
InputSignal<LmnDate | undefined>

The preselected date

getViewDetailsFn
r
InputSignal<LmnCalendarGetViewDetailsFn | undefined>

The callback function to get the view details

maxDate
r
InputSignal<LmnDate | undefined>

The maximum showing date

minDate
r
InputSignal<LmnDate | undefined>

The minimum showing date

nativeElement
r
HTMLElement
negative
r
InputSignalWithTransform<boolean, unknown>

Whether the calendar is in negative mode

precision
r
InputSignal<LmnCalendarPrecision>

The precision of the calendar

selectDate
r
OutputEmitterRef<LmnDate>

The selected date

Methods

changeView()

Change the view rendered in the calendar

Presentation
changeView(viewDate: LmnDate, level: "year" | "month" | "range"): void;
Parameters
NameTypeDescription
viewDate
LmnDate

@param viewDate The calendar will use the year and month of this date to calculate the view

level
"year" | "month" | "range"

@param level The level of the view to show, constrained by the precision

Returns
void