Last active
February 21, 2019 11:35
-
-
Save yakuzaaaa/5d1c9baae09d6e3c3c0844906eae0446 to your computer and use it in GitHub Desktop.
Code snippet in the lazy loading images blog by Adrobit Technologies
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
const image = document.getElementById('lazy-image'); | |
image.src = image.dataset.src; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment