Skip to content

Push To Container Node

UI/Container

Dynamically adds an element to a container's children list

a2ui_push_to_containerstdLong running
Inputs4
Outputs2
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

Execution input

Container

Struct
container_ref

Reference to the container element (ID or element object)

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.

Element

Struct
element_ref

Reference to the element to add (e.g. from Instantiate Widget)

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.

Position

Integer
position

Position to insert: -1 for end, 0 for start, or specific index

Default -1

Output Pins

2

▶

Execution
exec_out

Execution output

Success

Boolean
success

Whether the element was successfully added

Node Info

Internal name
a2ui_push_to_container
Category
UI/Container
Version
2