CellFrame
interface exported by @mwillbanks/tuil-cell.
interface
Public interface exported by @mwillbanks/tuil-cell.
export interface CellFrame {
readonly width: number;
readonly height: number;
readonly cells: readonly Cell[];
readonly cursor?: CursorState;
readonly semantics?: RendererScene["semantics"];
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
width | number | Yes | The width member uses the number contract. | — |
height | number | Yes | The height member uses the number contract. | — |
cells | readonly Cell[] | Yes | The cells member uses the readonly Cell[] contract. | Cell |
cursor | CursorState | undefined | No | The cursor member uses the CursorState | undefined contract. | CursorState |
semantics | readonly SemanticMetadata[] | undefined | No | The semantics member uses the readonly SemanticMetadata[] | undefined contract. | SemanticMetadata |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference