This article lists triggers shared by most (if not all) assets and collections. Keep in mind that interface assets can also have a set of associated triggers. For an introduction to triggers and actions, see this article
Opening the Triggers panel
Triggers are selected and configured in the Triggers view of the "Triggers and Actions - Details" panel of Intuiface Composer. This panel can be accessed in one of three ways:
- Left clicking any item in the scene then either
- Clicking the "Triggers and Actions" button in the upper right-hand corner of Composer.
- This will open the "Triggers and Actions - Details" panel.
- Click the "Add a Trigger" option to add a new trigger for item you originally selected.
OR
- Pressing the icon - or pressing Ctrl+Q on your keyboard - to open the Quick Properties pop-up then clicking the "Add a trigger" option.
- Clicking the "Triggers and Actions" button in the upper right-hand corner of Composer.
- Right-clicking any item in the scene and then selecting the "Add a trigger" option.
Common Trigger Categories
Container
The following triggers are only available if the asset / collection container is set to Free or Pinnable.
- Is maximized Raised when this asset/collection has been maximized
- Is minimized Raised when this asset/collection has been minimized
- Is unmaximized Raised when this asset/collection has been unmaximized
- Is unminimized Raised when this asset/collection has been unminimized
Drag & Drop
The following triggers are only available if the asset / collection container is set to Free or Pinnable.
- Drag
- Drag is initiated Raised when a drag of this asset/collection is initiated
- Is dragged away from Raised when the finger/pen dragging this asset/collection passes over and outside the target's edge
- Target parameter: specifies the asset or collection over which this asset/collection is being dragged
- Is dragged over Raised when the finger/pen dragging this asset/collection passes over and inside the target's edge
- Target parameter: specifies the asset or collection over which this asset/collection is being dragged
- Drop
- Is dropped on Raised when the finger/pen dragging this asset/collection is positioned anywhere over the target and then releases the item
- Target parameter: specifies the asset or collection over which this asset/collection is being dragged
- Is dropped on Raised when the finger/pen dragging this asset/collection is positioned anywhere over the target and then releases the item
Timers
For a complete description of how to work with timers, see this article
- Has been inactive Raised when no user action occurs during the time specified by the Duration parameter. The timer only begins its count when this asset/collection is or becomes visible.
- Duration parameter: Number of seconds
- Repeat indefinitely parameter: When this property is selected, the inactivity timer will start a new countdown after every interaction.
- Timer has elapsed Raised after the elapsed time specified by the Duration parameter. The timer only begins its count when this asset/collection is or becomes visible.
- Duration parameter: Number of seconds
- Repetition toggle (choose one of the following)
- Run X times: The timer will count down, reset and count down again X times.
- Repeat indefinitely: The timer will count down, reset and count down again an infinite number of times.
Touch and Gestures
- Is double-tapped Raised when this asset/collection is tapped twice.
- Is tapped Raised when this asset/collection is tapped once. A press / move / release combination is considered as a tap if the movement is less than 12 pixels.
- User activity
- User activity detected Raised when a user action on this asset/collection occurs after a timer of specified duration elapses
- Delay parameter: Amount of time that needs to pass before the User activity detected trigger will be tripped
- User activity detected Raised when a user action on this asset/collection occurs after a timer of specified duration elapses
The following triggers are only available if the asset / collection container is set to Free or Pinnable.
- Free manipulation
- Is manipulated Raised after manipulation of this asset/collection is completed
- Starts to be manipulated Raised the moment this asset/collection is touched
The following trigger is only available if the asset / collection container is set to Static.
- Gestures
- Gesture detected: Raised when a gesture is performed.
- Type: the type of gesture to detect
- Gesture detected: Raised when a gesture is performed.
You can learn more about Gesture triggers here.
Visibility
- Is hidden Raised when this asset/collection has been hidden
- Is shown Raised when this asset/collection has been shown (i.e. unhidden)
Comments
0 comments
Article is closed for comments.