Skip to content

UIContainerElement

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

A container element that can hold child UIElements.

readonly children: readonly UIElement[]

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


readonly displayObject: DisplayContainer

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

UIElement.displayObject


visible: boolean

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

UIElement.visible


readonly yogaNode: Node

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

UIElement.yogaNode

addElement(child): void

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

UIElement

void


optional applyLayout(): void

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

void

UIElement.applyLayout


destroy(): void

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

void

UIElement.destroy


insertElementBefore(child, before): void

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

UIElement

UIElement

void


removeElement(child): void

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

UIElement

void


update(props): void

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

Record<string, unknown>

void

UIElement.update