Skip to content

RedDokia API Reference / RedDokiaViewRenderProps

Interface: RedDokiaViewRenderProps<TParams> ​

Props injected into every view component (viewSchema.component).

Type Parameters ​

Type ParameterDefault type
TParamsRecord<string, any>

Properties ​

PropertyTypeDescription
activebooleanWhether this view is currently the active visible tab in its host group.
controllerRedDokiaControllerImperative workbench controller instance.
geometryRedDokiaSolvedGeometryLatest solved layout geometry across all nodes, groups, views, and sashes.
groupIdstringID of the group currently hosting this view, or null if detached.
heightnumberCurrent content viewport height in pixels.
isFloating?booleanWhether this view is currently detached into an in-viewport floating window.
isPopout?booleanWhether this view is currently detached into a separate OS browser pop-out window.
layoutStateRedDokiaLayoutStateCurrent workbench layout state snapshot.
params?TParamsCustom typed parameters associated with this view instance.
viewIdstringUnique ID of the rendered view instance.
viewSchema?RedDokiaViewSchema<TParams>Resolved RedDokiaViewSchema metadata merged with any runtime patches.
visible?booleanWhether this view is currently visible in a docked, floating, or pop-out host.
widthnumberCurrent content viewport width in pixels.