action
Overview
Similar to bind
, an action
can be triggered when a user clicks on an object-table
row. In this case, the specified on-press
function will execute.
Basic Example
<object-table ...>
<action icon="fa-angle-right" on-press="$:rowAction($selection)" validate="false" />
...
</object-table>
Standard Attributes
on-press
on-presson-press
validate
validate
Optional
Type: boolean
Default: false
Set to true
to ensure that no required input fields in the current view are empty before performing the on-press
action.
<action on-press="processAction($selection)" validate="true" />
Advanced Attributes
icon
icon
Optional
Type: string
Default: unset
The icon to display on the right end of the row. JourneyApps supports icons from various sources - see iconsfor details.
<action icon="fa-user" on-press="processAction($selection)" />
Last updated