The while attribute

The while attribute is allowed on actions to execute a loop until the condition becomes false.

In this example the fx-setvalue action is executed as long as the counter is smaller than 10. Afterwards the message action is displaying the result.

Using fx-update and fx-refresh to update the message for each execution of the loop.

User controlled start/stop loop

When hitting 'start' this will execute a delayed message until 'stop' is clicked. This should certainly used with caution and is included here for demo purposes.

Canceled loops

When the trigger is removed, the loop should also stop