Skip to main content

Interface: UiViewStackContainer

A container for displaying rendered UI views.

Implemented by

Properties

rootRef

Readonly rootRef: NodeReference<HTMLElement>

A reference to this container's root element.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiViewStackContainer.ts:9


sizeChanged

Readonly sizeChanged: ReadonlySubEvent<UiViewStackContainer, void>

An event that fires when the size of this container changes.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiViewStackContainer.ts:12

Methods

getDimensions

getDimensions(): Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>

Gets this container's current dimensions, as [width, height] in pixels.

Returns

Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>

This container's current dimensions, as [width, height] in pixels.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiViewStackContainer.ts:24


getSizeMode

getSizeMode(): UiViewSizeMode

Gets this container's current size mode.

Returns

UiViewSizeMode

This container's current size mode.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiViewStackContainer.ts:18


renderView

renderView(layer, view): void

Renders a view into this container.

Parameters

NameTypeDescription
layerUiViewStackLayerThe layer to which to render the view.
viewVNodeA UI view, as a VNode.

Returns

void

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/UiViewStackContainer.ts:31