Skip to content

Event

Executes all handlers and behaviors of the specified jQuery event.

event

type: string

The jQuery event that is manually triggered when the action is clicked.

yaml
actions:
    event:
        type: event
        event: myEvent

The event-string "myEvent" represents the jQuery event which has to be present in your project like this general example:

javascript
$(document).on("myEvent", function() {
    doSomething();
});