RUAL Documentation

div foreach

This block is part of the state ui group and was last modified in core v13.0.6.

Type Selection Required

This block requires you to select the data type you want to work with. You must manually select the type using the type selector modal. To access the modal, click the white button on the block.

div foreach v13.0.1 Updated v13.0.6

Serves as a dynamic container, generating an unique div for each element in the specified array.

Pin Pin Type Default
arrayrequired
This array is the source of data for generating the individual div elements. • Hidden when other fields are filled
array
state keyrequiredv13.0.4
This state key is the source of data for generating the individual div elements. • Hidden when other fields are filled
value
class
Assigns a CSS class to the element. • Hidden when unused
uiclass
style
Applies inline CSS style to the element • Hidden when unused
uistyle
attributes
Adds custom attributes to the element. • Hidden when unused
uiattributes
Pin Pin Type Example
state
Returns the element to the frontend state.
state
iterator
Allows you to execute a custom function to determine the content of each div element.
execute_function

Core Releases

v13.0.1 This block was introduced in v13.0.1, click here to see the release notes. v13.0.6 This block was last modified in v13.0.6, click here to see the release notes.
Back to state ui Return to the main group to view all sub-groups Back to state elements Return to the group to view all blocks within this group