Here’s a list of the different built-in Event Types we can use in Event Based Rules, and how they’re defined:
A pointing device button has been pressed and released on an element.
A pointing device is moved onto the element that has the listener attached or onto one of its children.
A key is pressed down and that key normally produces a character value (use input instead).
An element has received focus (does not bubble).
An element has lost focus (does not bubble).
A form is submitted.
An element loses focus and its value changed since gaining focus.
Playback has stopped because the end of the media was reached.
The first frame of the media has finished loading.
Playback has begun.
Playback has been paused.
The user agent is trying to fetch media data, but data is unexpectedly not forthcoming.
The volume has changed.
Emits an event given a specified percentage of total playing time. Example: entering 10% indicates this rule will only fire when 10% of the total length of the video has been played.
Emits an event given a specified duration of playing time. For example, entering 10 indicates this rule will only fire when 10 seconds of the total length of the video has been played.
The orientation of the device (portrait/landscape) has changed.
When a pinch or spread gesture is performed on a mobile device.
When the element first comes into the view of the visitor. If the element is in view immediately upon page load, it will be triggered right away, if it only comes in view after scrolling, it will fire then. An optional delay can be specified in the rule which determine how long the element has to be in view for before the event is triggered, of which the default value is 1 second.
When an element of a specified selector comes into existance – either because it’s in the page markup or dynamically injected later on. Each rule only fires once.