TimeGrid API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
TimeGrid10 props5 callbacks0 methods
Props10
| Name | Type | Description |
|---|---|---|
disabledOptional | boolean | undefined | Disables user interaction with the control. |
daysRequired |
| Weekday labels and identifiers displayed by the time grid. |
cellsRequired |
| Keys of the currently selected time-grid cells. |
focusedRequired | string | Marks the item or date that currently has keyboard focus. |
weekendDaysRequired |
| Weekday numbers that should use the weekend presentation. |
workingHoursOptional |
| Working-time boundaries used to distinguish working and non-working cells. |
gridLabelRequired | string | Accessible name for the time-grid matrix. |
hourLabelRequired |
| Formats the label for an hour row. |
cellLabelRequired |
| Returns the accessible label for a day/time cell and its selected state. |
matrixRefRequired |
| Reference to the time-grid container. |
Events and callbacks5
| Name | Type | Description |
|---|---|---|
onFocusRequired |
| Called when focus moves to an item or control; the signature identifies the focused value. |
onKeyDownRequired |
| Handles keyboard input; receives the keyboard event and any item/date context shown in the signature. |
onClickRequired |
| Handles activation of the control; receives the event and any component-specific context. |
onPointerDownRequired |
| Starts a pointer interaction on the supplied time-grid cell. |
onPointerEnterRequired |
| Extends a pointer interaction to the supplied day/hour cell. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.