Skip to components
DEVELOPER REFERENCE · v4.0.0

CalendarYearGrid API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

CalendarYearGrid8 props2 callbacks0 methods

Props8

CalendarYearGrid props
NameTypeDescription
monthRequired
ISODateStringInspect type
Month currently displayed, expressed as a library ISO date string.
systemOptional
DisplayCalendarSystem | undefinedInspect type
Calendar system used to render month and year values.
referenceDateOptional
ISODateString | undefinedInspect type
Reference ISO date used for Today and relative calendar presentation.
minDateOptional
ISODateString | undefinedInspect type
Earliest selectable calendar date in the library ISO date representation.
maxDateOptional
ISODateString | undefinedInspect type
Latest selectable calendar date in the library ISO date representation.
isMonthDisabledOptional
((month: ISODateString) => boolean) | undefinedInspect type
Return true to prevent selection of the supplied month.
localeRequiredstringLocale identifier or localized label configuration used for formatting and accessible text.
ariaLabelRequiredstringAccessible name announced by assistive technology.

Events and callbacks2

CalendarYearGrid events and callbacks
NameTypeDescription
onSelectRequired
(month: ISODateString) => voidInspect type
Called when the user selects an item. The signature identifies the selected value and any additional context.
onEscapeRequired
() => voidInspect type
Handles Escape from the month/year grid.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.