Skip to content

Actions

List of buttons or tiles that can be assigned actions. Full docs

  • tile=actions
  • title
  • options:
    • layout: grid | tile | round | buttons | whitelabel | hekabio | hekabio-tiles | hekabio-buttons
  • actions:
    • condition: valid rule
    • title: display for the action
    • description: additional instructions
    • target: post | form | behavior | close | parent | wiki
      • post and form act as menu actions
      • close will close the page
    • options: based on layout
    • behavior: share | dispatch | whitelabel
    • params: passed to behavior
    • values: passed to behavior
    • onComplete: close
    • boxShadow: based on layout
    • background: background style
    • foreground: foreground style
    • backgroundImage: image
    • icon: based on layout
    • variant: based on layout
    • color: based on layout
    • size: based on layout
{
  "tile": "actions",
  "options": {
    "layout": "buttons"
  },
  "actions":[
    {
      "title": "I read it!",
      "target": "dispatch",
      "onComplete": "close",
      "variant": "contained",
      "color": "primary"
    }
  ]
}

Target options

post

Same as Shortcut options

form

Same as Shortcut options

behavior

Properties

  • behavior:Enumeration - share | dispatch

close

Closes the form.

Data mapping

Data can be transferred from the layout source to the destination.

Example:

"mapping": [
    {
      "from": "projectId",
      "to": "data.project"
    }
  ]