Skip to content

Vizel API / core/src / VizelGridCellAttrs

Interface: VizelGridCellAttrs ​

Defined in: packages/core/src/builders/types.ts:298

ARIA attributes for a single grid cell.

Properties ​

aria-selected? ​

ts
optional aria-selected?: boolean;

Defined in: packages/core/src/builders/types.ts:303

Whether this cell is the active selection.


id ​

ts
id: string;

Defined in: packages/core/src/builders/types.ts:301

Stable id; used by the root's aria-activedescendant.


role ​

ts
role: "gridcell";

Defined in: packages/core/src/builders/types.ts:299


tabIndex ​

ts
tabIndex: -1 | 0;

Defined in: packages/core/src/builders/types.ts:305

Cell tabIndex; usually -1 so the root owns keyboard focus.

Released under the MIT License.