Skip to content

UIProgressBar

Defined in: ui/src/UIProgressBar.ts:16

A progress bar with track and fill backgrounds.

new UIProgressBar(props): UIProgressBar

Defined in: ui/src/UIProgressBar.ts:33

UIProgressBarProps

UIProgressBar

readonly container: DisplayContainer

Defined in: ui/src/UIProgressBar.ts:17


readonly yogaNode: Node

Defined in: ui/src/UIProgressBar.ts:18

UIElement.yogaNode

get displayObject(): DisplayContainer

Defined in: ui/src/UIProgressBar.ts:20

DisplayContainer

UIElement.displayObject


get visible(): boolean

Defined in: ui/src/UIProgressBar.ts:69

boolean

set visible(v): void

Defined in: ui/src/UIProgressBar.ts:73

boolean

void

UIElement.visible

applyLayout(): void

Defined in: ui/src/UIProgressBar.ts:59

Size track to full computed size, fill proportionally to value.

void

UIElement.applyLayout


destroy(): void

Defined in: ui/src/UIProgressBar.ts:111

Idempotent — a second call is a no-op.

void

UIElement.destroy


update(p): void

Defined in: ui/src/UIProgressBar.ts:78

Partial<UIProgressBarProps>

void

UIElement.update