Jump to content

How to get the new "revive-<ID>-loaded" custom JS event?


Bapman

Recommended Posts

Hello,

I am very much interested in this new feature described in v5.4.0 changelog:

Asynchronous tag now sends a custom "revive-<ID>-loaded" JS event when loading each banner and a "revive-<ID>-completed" event when all the positions on the page have been filled. This allows interaction and customisation, e.g. dynamically adding a class to all image banners.

So I updated to v5.4.1. But when I look at my asynchronous tag, I do not see any event thrown by it.
I was looking at the <ins> tag or the child elements in Chrome Dev tools (selecting the element then tab "Event Listeners").

However, looking at the ancestors, I do see "revive-myReviveID-refresh" and "revive-myReviveID-start" events.

Any help would be highly appreciated!

Edited by Bapman
typo
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...