action
Overview
Standard Attributes
on-press
on-presson-pressExample: Shorthand syntax
<list>
<list-item on-press="$:doSomething()" />
</list>Example: Longhand syntax
<list>
<list-item>
<action icon="my-icon-name" on-press="$:doSomething()" />
<!-- or -->
<!-- With dynamic list-items you can pass the selected item as a parameter via $selection -->
<action icon="my-icon-name" on-press="$:doSomething($selection)" />
</list-item>
</list>Advanced Attributes
icon
iconExample: Shorthand syntax
Example: Longhand syntax
validate
validateLast updated