Skip to content

Update Toggle Node

UI/Elements/Checkbox

Set or toggle checkbox/switch checked state

a2ui_update_togglestdLong running
Inputs4
Outputs1
Security exposureUnrated
Packagestd

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

4

▶

Execution
exec_in

Element

Struct
element_ref

Reference to checkbox or switch element

ElementRefElementRef5 fields
idstringrequired

Identifier of the element or widget instance.

instanceIdstring | null

Instance the element lives in. Absent for elements addressed directly.

widgetIdstring | null

Widget this instance was created from.

surfaceIdstring | null

Surface the element is rendered on.

componentvalue

The component itself, whose props are defined by the component type.

Operation

String
operation

What operation to perform

Default Set
SetToggleGet

Checked

Boolean
checked

New checked state

Default false

Output Pins

1

▶

Execution
exec_out

Node Info

Internal name
a2ui_update_toggle
Category
UI/Elements/Checkbox