Skip to main content

Interface: CheckboxConfig

Defined in: src/interaction/Controls.ts:61

Configuration for a checkbox control.

Properties​

checked?​

optional checked: boolean

Defined in: src/interaction/Controls.ts:65

Initial checked state. Defaults to false.


label​

label: string

Defined in: src/interaction/Controls.ts:63

Label text displayed next to the checkbox.


onChange()​

onChange: (checked) => void

Defined in: src/interaction/Controls.ts:67

Callback when checked state changes.

Parameters​

checked​

boolean

Returns​

void