Skip to content

UIContainerElement

Defined in: ui/src/types.ts:139

A container element that can hold child UIElements.

readonly children: readonly UIElement[]

Defined in: ui/src/types.ts:140


readonly displayObject: DisplayContainer

Defined in: ui/src/types.ts:130

UIElement.displayObject


visible: boolean

Defined in: ui/src/types.ts:132

UIElement.visible


readonly yogaNode: Node

Defined in: ui/src/types.ts:131

UIElement.yogaNode

addElement(child): void

Defined in: ui/src/types.ts:141

UIElement

void


optional applyLayout(): void

Defined in: ui/src/types.ts:133

void

UIElement.applyLayout


destroy(): void

Defined in: ui/src/types.ts:135

void

UIElement.destroy


insertElementBefore(child, before): void

Defined in: ui/src/types.ts:143

UIElement

UIElement

void


removeElement(child): void

Defined in: ui/src/types.ts:142

UIElement

void


update(props): void

Defined in: ui/src/types.ts:134

Record<string, unknown>

void

UIElement.update