spz-action-macro
When to use
spz-action-macro allows you to create reusable action sequences and control their execution order.
Supported layout
logic
Usage
Each action macro needs an id and an arguments definition. You can call the macro by its id and pass arguments that alter its behavior.
Attributes
Actions
execute
Execute the macro's action expression. The execute attribute on the element defines the action(s) to run, with argument placeholders substituted by the values passed during invocation.
Parameters: Defined by the arguments attribute. Each argument name becomes a named parameter.
Example:
Notes
- The
executeattribute defines the action expression template, not an action itself. - This component does not emit custom events.