<fx-action>

Description

<fx-action> is a container action element that can take other actions as children and defer their update cycle to the end of the action block.

This is useful when you e.g. want to set several values at once without the cost of each action to be recalculated, revalidated and refreshed.

Script Actions

It is possible to call JavaScript from an <fx-action> by using the src attribute. For an example see script actions or the source of this file (doc/reference.html).

Attributes

NameDescription
srcoptional attribute to point to a JavaScript file containing a single function to be called.

Examples