Created
March 12, 2020 22:43
-
-
Save worldoptimizer/dd9b59c45cd27e0aaeb2d928603f27e0 to your computer and use it in GitHub Desktop.
Stripped down callback
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function symbolInitTest (hypeDocument, element, event){ | |
console.log('HypeSymbolInit'); | |
var symbolInstance = hypeDocument.getSymbolInstanceForElement(element); | |
// do your stuff… | |
} | |
window.HYPE_eventListeners.push({"type":"HypeSymbolInit", "callback":symbolInitTest}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment