Interface: UiViewStackContainer
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/UiSystem/UiViewStackContainer.ts:7
A container for displaying rendered UI views.
Properties
rootRef
readonly
rootRef:NodeReference
<HTMLElement
>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/UiSystem/UiViewStackContainer.ts:9
A reference to this container's root element.
sizeChanged
readonly
sizeChanged:ReadonlySubEvent
<UiViewStackContainer
,void
>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/UiSystem/UiViewStackContainer.ts:12
An event that fires when the size of this container changes.
Methods
getDimensions()
getDimensions():
ReadonlyFloat64Array
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/UiSystem/UiViewStackContainer.ts:24
Gets this container's current dimensions, as [width, height]
in pixels.
Returns
This container's current dimensions, as [width, height]
in pixels.
getSizeMode()
getSizeMode():
UiViewSizeMode
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/UiSystem/UiViewStackContainer.ts:18
Gets this container's current size mode.
Returns
This container's current size mode.
renderView()
renderView(
layer
,view
):void
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/UiSystem/UiViewStackContainer.ts:31
Renders a view into this container.
Parameters
Parameter | Type | Description |
---|---|---|
layer | UiViewStackLayer | The layer to which to render the view. |
view | VNode | A UI view, as a VNode. |
Returns
void