Skip to main content

Button - Actions

Reference Guide

This component is a button that arbitrary Actions to be run in sequence.

Properties

Label

The text to display inside the button.

Loading Label

The text to display inside the button when the Actions are running.

Disabled

Boolean value, whether to show the button as disabled. When disabled, the button cannot be pressed.

Style

Which style of button to use. Options are Contained or Outlined.

Color

Which color button to use. Options are Primary or Secondary.

Size

Which size button to use. Options are Small, Medium or Large.

Full Width

When enabled, the button will take up the full width of it's parent layout.

Icon

Icon to use inside the button.

1st Action, 2nd Action, ...., 8th Action

The Actions to run. 1st Action is run first, then 2nd Action, etc. If any numbered Action is not defined, it is skipped.

If any Actions fail, the subsequent Actions are still run. If the button is hidden in the middle of a chain of Actions, then the currently executing Action is finished, but the rest are cancelled.