Blocks Deprecated
Deprecated: use the web blocks for new pages This block belongs to state pages and UI components. Existing pages keep running, but new pages should use the web blocks. See Web Pages and the migration guide.
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.6A script element.
In pins 1
- script
valuerequiredExecutes the given JS code on the frontend, do not include User Input as this could be a security risk.
Out pins 1
- state
stateReturns the element to the frontend state.
A typical wiring for script: value feeds the script pin; the state out pin feeds get component child.
Used in these guides
These documentation pages use or explain this block:
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 