Skip to content

UICheckbox

Defined in: ui/src/UICheckbox.ts:15

Interactive checkbox with optional label.

new UICheckbox(props): UICheckbox

Defined in: ui/src/UICheckbox.ts:34

UICheckboxProps

UICheckbox

readonly container: DisplayContainer

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


readonly yogaNode: Node

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

UIElement.yogaNode

get checked(): boolean

Defined in: ui/src/UICheckbox.ts:106

boolean


get displayObject(): DisplayContainer

Defined in: ui/src/UICheckbox.ts:19

DisplayContainer

UIElement.displayObject


get visible(): boolean

Defined in: ui/src/UICheckbox.ts:97

boolean

set visible(v): void

Defined in: ui/src/UICheckbox.ts:101

boolean

void

UIElement.visible

destroy(): void

Defined in: ui/src/UICheckbox.ts:179

Idempotent — a second call is a no-op.

void

UIElement.destroy


setDisabled(v): void

Defined in: ui/src/UICheckbox.ts:110

boolean

void


update(p): void

Defined in: ui/src/UICheckbox.ts:117

Partial<UICheckboxProps>

void

UIElement.update