Actions
List of buttons or tiles that can be assigned actions. Full docs
tile
=actions
title
options
:layout
: grid | tile | round | buttons | whitelabel
actions
:condition
: valid ruletitle
: display for the actiondescription
: additional instructionstarget
: post | form | behavior | close- post and form act as menu actions
- close will close the page
options
: based on layoutbehavior
: share | dispatch | whitelabelparams
: passed to behaviorvalues
: passed to behavioronComplete
: closeboxShadow
: based on layoutbackground
: background styleforeground
: foreground stylebackgroundImage
: imageicon
: based on layoutvariant
: based on layoutcolor
: based on layoutsize
: 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"
}
]