Skip to main content

Event Trigger

A single trigger that fires when an event occurs.

Updated over 3 weeks ago

Overview

An event trigger fires when an event occurs through a user interaction or an updating value. You can choose if the Event trigger listens for a view event, variable event, device event, custom event, or location event. Each event type is customizable.


Trigger Properties

Type

Set the event type as a view, variable, device, custom, or location event:

  • View Event: An event that occurs when an object or page appears, loads, disappears, or changes appearance.

  • Variable Event: An event that occurs when a variable's value changes.

  • Device Event: An event that occurs when the native keyboard shows or hides or another device related event occurs.

  • Custom Event: An event that occurs when a custom Event is triggered.

  • Location Event: An event that occurs when a location or location authorization changes.

Is Enabled

Set if the trigger should fire when the trigger's conditions are met.

View Event Properties

Event

Set if the trigger should fire when an object or page appears, loads, disappears, or changes appearance:

  • On Load: Fires when an object or page loads.

  • On Appear: Fires when an object or page appears (shows or duplicates).

  • On Disappear: Fires when an object or page disappears (hides or removes).

  • On Sheet Dismiss: Fires when a native sheet is dismissed.

  • Appearance Changed: Fires when an object or page's UI appearance changes.

Variable Event Properties

Variable

Select the variable that the trigger will monitor.

Event

Set the variable event that will fire the trigger:

  • On Change: Fires when the selected variable's value changes.

Device Event Properties

Event

Set if the trigger should fire when the device becomes active, the app enters the foreground, the app enters the background, the keyboard shows, or the keyboard hides:

  • On Became Active: Fires when the iOS device becomes active.

  • Will Enter Foreground: Fires when the user opens the app clip/Play app.

  • Did Enter Background: Fires when the user opens another app.

  • On Keyboard Show: Fires when the native Apple keyboard opens.

  • On Keyboard Hide: Fires when the native Apple keyboard closes.

Custom Event Properties

Event

Select the custom event that will fire the trigger. Create a custom event in the Event Panel.

Location Event Properties

Event

Set if the trigger should fire when the user's location changes or when the user's auth status changes:

  • Auth Status Changed: Fires when the user changes their location authorization settings.

  • Location Updated: Fires when the user's location changes.


Expression Editor Properties

Is Enabled

trigger.isEnabled

Whether the trigger is enabled or disabled.

Did this answer your question?