Skip to content

Instantly share code, notes, and snippets.

@jeff-at-livecanvas
Last active September 28, 2020 16:02

Revisions

  1. jeff-at-livecanvas revised this gist Sep 28, 2020. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions test.html
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,6 @@
    <h1 style="margin-bottom:2000px" >Scroll down to trigger the image load.</h1>
    <iframe src="https://davidwalsh.name/" loading="lazy" onload="alert('Loaded!');" />
    <html>
    <body>
    <h1 style="margin-bottom:2000px" >Scroll down to trigger the image load.</h1>
    <iframe src="https://davidwalsh.name/" loading="lazy" onload="alert('Loaded!');" />
    </body>
    </html>
  2. jeff-at-livecanvas created this gist Sep 26, 2020.
    2 changes: 2 additions & 0 deletions test.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    <h1 style="margin-bottom:2000px" >Scroll down to trigger the image load.</h1>
    <iframe src="https://davidwalsh.name/" loading="lazy" onload="alert('Loaded!');" />