Created
October 25, 2018 15:18
-
-
Save adambankin/e4a7a4b2ab77f834febf426ce21ef08e to your computer and use it in GitHub Desktop.
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 setupDomElement () { | |
parentNode.innerHTML = '<dom-element></dom-element>'; | |
parentNode.find('dom-element').addEventListener('click', () => {console.log('blah')}); | |
} | |
setupDomElement(); | |
setupDomElement(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment