The Close Event

An overview of the Close Event Listener

Usage

Events are useful as a way to trigger Frames and the Resources within. Frames can have a Precondition that listens for a specific Event. Once this event is emitted, the Frame’s Precondition will be satisfied, and the Resources within that Frame will begin their processing.

To create an Event Precondition for a Frame you can create an Event Listener to navigate to the Resource whose Event the Frame will wait upon. Then, in the bottom right-hand corner of this Resource, click the blue plus (“+”) symbol and choose the Event for which you want to listen. This will create a new Frame with a Precondition for the Event you selected.

About

The Close event is emitted in the context of a Resource. It is intended to activate when the user finishes interacting with or seeing the implementation of this Resource. For example, this Event will be called for Screen Message when the message disappears from the screen; or for Media when the Media Item finishes playing.

When it can be used

This event is not guaranteed to be emitted.  It depends on the resource.  To confirm if the Close Event is emitted for a specific resource, please refer to the knowledge base article on that resource.  

Create

  • Navigate to the appropriate frame and resource (or create them).
  • Click on the blue + symbol in the bottom right-side corner of the resource.
  • Choose Close:
2021-03-18_10-29-25

 

  • Add the resource to be processed once the precondition has been satisfied:
2021-03-18_10-31-03