RedDokia API Reference / RedDokiaViewRenderProps
Interface: RedDokiaViewRenderProps<TParams>
Props injected into every view component (viewSchema.component).
Type Parameters
| Type Parameter | Default type |
|---|---|
TParams | Record<string, any> |
Properties
| Property | Type | Description |
|---|---|---|
active | boolean | Whether this view is currently the active visible tab in its host group. |
controller | RedDokiaController | Imperative workbench controller instance. |
geometry | RedDokiaSolvedGeometry | Latest solved layout geometry across all nodes, groups, views, and sashes. |
groupId | string | ID of the group currently hosting this view, or null if detached. |
height | number | Current content viewport height in pixels. |
isFloating? | boolean | Whether this view is currently detached into an in-viewport floating window. |
isPopout? | boolean | Whether this view is currently detached into a separate OS browser pop-out window. |
layoutState | RedDokiaLayoutState | Current workbench layout state snapshot. |
params? | TParams | Custom typed parameters associated with this view instance. |
viewId | string | Unique ID of the rendered view instance. |
viewSchema? | RedDokiaViewSchema<TParams> | Resolved RedDokiaViewSchema metadata merged with any runtime patches. |
visible? | boolean | Whether this view is currently visible in a docked, floating, or pop-out host. |
width | number | Current content viewport width in pixels. |