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

Authenticate ux

This is trigger action for taking biometric authentication. Both iOS and Android is using Fingerprint/Touch ID or Face Recognition/Face ID sensor depending on what sensor are available on the device. You need to add a reference to "Fuse.Auth" in your project file to use this feature.

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.

LoadImage ux

LoadImage is a trigger action to fetch the image data for the ImageFill or Image. This Trigger action is useful when we set the AutoLoad property of the Image component or ImageFill brush to false to make it lazy load, and then using this trigger action to actually load it

LoadUrl ux

Loads a new URL into the WebView

Pause ux

Pause a video or timeline

PlatformSignIn ux

This is trigger action for taking Platform SignIn. Platform SignIn is a SignIn mechanism that use Sign In With Apple on iOS and Google SignIn on Android.

Play ux

Resume or start a video or 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.

<ExitingAnimation>
    <Move X="1" RelativeTo="Size" Duration="0.3"/>
    <ReleasePage AtProgress="1"/>
</ExitingAnimation>

This is currently only necessary in a Navigator and PageView. You can safely call it on transitions used potentially also in a PageControl.

Reload ux

Reloads the currently loaded URL

RouterModify uno

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.

ShowAlert ux

This is trigger action for showing native alert dialog with a single button. Only available on iOS or Android

ShowConfirm ux

This is trigger action for showing an ok/cancel dialog. Only available on iOS or Android

Sms ux

Send a message to a phone number

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 or by vibration type (only on iOS)

Location

Namespace
Fuse.Triggers.Actions
Package
Fuse.Triggers 2.9.1
Show Uno properties and methods

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

Implemented Interfaces