You can subscribe to the events in this article using the EB.addEventListener()
method.
The following events are triggered when any of the modules are loaded.
Event |
Description |
|
Triggers when the API is initialized. |
|
Triggers when any expandable panel belonging to the ad is collapsed. |
|
Triggers when the 'devicemotion' event is detected in the parent window. |
|
Triggers when an expandable panel belonging to the ad is expanded. |
|
Triggers when the page is fully loaded. |
|
Triggers when the screen orientation changes. Only works on mobile devices. |
|
Triggers each time data changes as a result of an event. Use when building ads that are compliant with MRAID (Mobile Rich Media Ad Interface Definitions). |
|
Triggers when the viewability of the ad changes. For example, when the user scrolls the ad up above the fold. You might prefer to access this information synchronously via method |
The following events are triggered when the EBCMD module is loaded.
Event |
Description |
|
Triggers the event when MRAID or other mobile-device in-app container tells the ad to collapse. |
|
Triggers the event when MRAID or other mobile-device in-app container tells the ad to collapse. |
|
Triggers the event when MRAID or other mobile-device in-app container tells the ad to collapse. |
|
Triggers the event when MRAID or other mobile-device in-app container sends a command to the ad. |
Comments