Created
April 27, 2020 06:42
-
-
Save avaforvr/951526ee7703a30fdc4b32d8c76afc23 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
document.body.addEventListener('lazyImg', function(e) { | |
loadImgs(e.detail.container); | |
}, false); | |
document.body.dispatchEvent(new CustomEvent('lazyImg', { | |
detail: { | |
container: document.querySelector('.dropdown'), | |
force: true | |
} | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment