Skip to main content
All CollectionsInteractions
Image Event Trigger
Image Event Trigger

A single trigger that fires as an image element's content loads.

Updated over 3 weeks ago

Overview

Image Event triggers monitor the loading status of an image element's image data. If the image data loads successfully, you can trigger one set of actions, and if the image data fails to load, you can show an error message or perform another set of actions.

Note: Image Event triggers only work when added to an image.


Trigger Properties

Event

Set the trigger to fire when an image element's content loads correctly or fails to load:

  • On Load: Fires when an image element's data successfully finishes loading.

  • Load Failed: Fires when an image element's data fails to load properly.

Is Enabled

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


Expression Editor Properties

Is Enabled

trigger.isEnabled

Whether the trigger is enabled or disabled.

Did this answer your question?