Skip to content

Action: event

Richard Cowin edited this page Mar 20, 2024 · 5 revisions

When an action is specified as an event, an Evolv event will be created using tag value as the event id.

Examples

Creating an event when any button is clicked

{
  "source": "dom",
  "key": "button",
  "on": "click",

  "action": "event",
  "tag": "button.clicked"
}

Creating an event when any button is clicked

{
  "source": "dom",
  "key": "button",
  "on": "click",

  "action": "event",
  "tag": "button.clicked"
}