⌘K

Action

Action api reference

Action object

{
  "id": "11111111-2222-3333-4444-5555555555555",
  "key": "root",
  "event": "onAppear",
  "triggers": []
}

id

String

Unique identifier for an action.


key

String

Unique identifier for an action this key should be as same as a block key, with this key each block can connect with an action


event

Event [ ]

An event will invoke action's triggers


triggers

Trigger [ ]

List of trigger that assigned to a action.