Skip to content

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 ParameterDefault type
TParamsRecord<string, any>

Properties ​

PropertyTypeDescription
badge?string | numberOverride badge value for the opened view.
closable?booleanWhether the opened tab can be closed by the user.
component?RedDokiaViewComponent<TParams>Runtime component or mount handler for dynamically registered views.
dirty?booleanInitial unsaved-changes (dirty) indicator state.
icon?RedDokiaIconValueOverride icon for the opened view (RedDokiaIcons.* constant, built-in icon name, inline SVG, DOM node, or framework icon component).
maxHeight?numberMaximum content height in pixels.
maxWidth?numberMaximum content width in pixels.
minHeight?numberMinimum content height in pixels.
minWidth?numberMinimum content width in pixels.
params?TParamsCustom parameters passed to the view renderer and persisted in layout snapshots.
pinned?booleanWhether to open the tab in a pinned state.
targetGroupId?stringExplicit destination group ID where the view tab should be opened.
templateId?stringBase registered view ID to inherit component and default metadata from.
title?stringOverride tab title for the opened view.