Dispatch Event Action

Dispatches a standard or custom HTML event from a specified element or from the window object. Useful for simulating browser events or trigger custom events to communicate with scripts or components.

Action Settings

Option Default Type Description
Event Name None Text Field Specifies the name of the event to dispatch. This can be a standard event or a custom event. The event name should match what your script or components are listening for.
Event Details None Text Field Provides custom data to include with the dispatched event. This value will be assigned to the event's detail property and can be accessed via event.detail in your event handler.

Applied To

Select the source element where the action will originate. This determines which block or element will perform the specified action when triggered.