CalendarHeader API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
CalendarHeader10 props2 callbacks0 methods
Props10
| Name | Type | Description |
|---|---|---|
labelRequired | string | Label content or accessible name for the component, as rendered by this control. |
previousLabelRequired | string | Accessible text for moving to the previous page or period. |
nextLabelRequired | string | Accessible text for moving to the next page or period. |
captionOptional |
| Custom content replacing the calendar caption. |
labelActionOptional |
| Optional action associated with the month/year label. |
showLabelOptional | boolean | undefined | Shows the current period label. |
showPreviousOptional | boolean | undefined | Shows the previous-period button. |
showNextOptional | boolean | undefined | Shows the next-period button. |
previousDisabledOptional | boolean | undefined | Disables the previous-period button. |
nextDisabledOptional | boolean | undefined | Disables the next-period button. |
Events and callbacks2
| Name | Type | Description |
|---|---|---|
onPreviousRequired |
| Requests navigation to the previous period. |
onNextRequired |
| Requests navigation to the next period. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.