script

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

script v13.0.1 Updated v13.0.6

A script element.

In pins 1
  • script required
    value

    Executes the given JS code on the frontend, do not include User Input as this could be a security risk.

Out pins 1
  • state
    state

    Returns the element to the frontend state.

A typical wiring for script: value feeds the script pin; the state out pin feeds get component child.

Studio canvas example for the script block: typical wiring for script.

Version history

Introduced in v13.0.1.

Last modified in v13.0.6.


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