Skip to content

UIContainerElement

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

A container element that can hold child UIElements.

readonly children: readonly UIElement[]

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


readonly displayObject: DisplayContainer

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

UIElement.displayObject


visible: boolean

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

UIElement.visible


readonly yogaNode: Node

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

UIElement.yogaNode

addElement(child): void

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

UIElement

void


optional applyLayout(): void

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

void

UIElement.applyLayout


destroy(): void

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

void

UIElement.destroy


insertElementBefore(child, before): void

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

UIElement

UIElement

void


removeElement(child): void

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

UIElement

void


update(props): void

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

Record<string, unknown>

void

UIElement.update