Trigger actions performs an action at a given delay after a trigger is activated.

Actions are similar to Animators, but are one-off events that fire at a particular point in time. Like animators they are activated by triggers, but their effects are not reversed when their containing trigger is deactivated. Commonly examples of actions include Set, Callback, Hide and Show.

Available trigger actions

BringIntoView ux

Scrolls a fuse/controls/scrollview so that the target element becomes visible

Call ux

Calls a phone number

Callback ux

Calls a JavaScript function when a trigger is activated.

EvaluateJS ux

Evaluate a JavaScript snippet on a WebView and optionally get the result

LaunchEmail ux

Launch the default email application with an optional template

LaunchUri ux

Launch the default browser for an URL or open files with its corresponding default application

LoadHtml ux

Load arbitrary HTML into the webview.

LoadUrl ux

Loads a new URL into the WebView

Pause ux

Pause a video or timeline

Play ux

Resume or start a video or timeline

PlayTo ux

Play to a specific point in a timeline

ReleaseFocus ux

Releases focus from the currently focused Element when activated.

ReleasePage ux

For navigation this indicates the page (Visual) is no longer required and can be reused, or discarded, by the container.

Reload ux

Reloads the currently loaded URL

RouterModify ux

Performs a transition on the router with extended options.

Set<T> ux

Permanently changes the value of a property.

Show ux

Makes an Element visible by setting Visibility to Visible.

Stop ux

Stop a video or timeline.

Toggle ux

Toggles the state of a toggleable component.

TransitionLayout ux

Lets you create a temporary layout change. This can be used to do visual layout transitions without needing actual layout changes.

Vibrate ux

Vibrate the device for a duration

Location

Namespace
Fuse.Triggers.Actions
Package
Fuse.Triggers 1.8.0-rc2

Interface of TriggerAction

AtProgress : float ux

A value between 0 and 1 for when the action should be performed. Alternative to Delay.

Delay : float ux

The number of seconds after the start of the trigger that the action should be performed.

TargetNode : Node ux

The node that the action targets. If not specified then the enclsoing Trigger will be used. Several triggers can look for a target starting from this point. Some triggers require a Target to be specified.

Unroot uno

Called when the owner of this object is unrooted. This gives an action to cleanup resources or cancel pending actions.

Inherited from PropertyObject

Inherited from object