RedDokia API Reference / RedDokiaOpenViewOptions
Interface: RedDokiaOpenViewOptions<TParams>
Options accepted by controller.openView(viewId, options) when opening an existing or dynamic runtime view.
Type Parameters
| Type Parameter | Default type |
|---|---|
TParams | Record<string, any> |
Properties
| Property | Type | Description |
|---|---|---|
badge? | string | number | Override badge value for the opened view. |
closable? | boolean | Whether the opened tab can be closed by the user. |
component? | RedDokiaViewComponent<TParams> | Runtime component or mount handler for dynamically registered views. |
dirty? | boolean | Initial unsaved-changes (dirty) indicator state. |
icon? | RedDokiaIconValue | Override icon for the opened view (RedDokiaIcons.* constant, built-in icon name, inline SVG, DOM node, or framework icon component). |
maxHeight? | number | Maximum content height in pixels. |
maxWidth? | number | Maximum content width in pixels. |
minHeight? | number | Minimum content height in pixels. |
minWidth? | number | Minimum content width in pixels. |
params? | TParams | Custom parameters passed to the view renderer and persisted in layout snapshots. |
pinned? | boolean | Whether to open the tab in a pinned state. |
targetGroupId? | string | Explicit destination group ID where the view tab should be opened. |
templateId? | string | Base registered view ID to inherit component and default metadata from. |
title? | string | Override tab title for the opened view. |