Skip to content

Commit 3f2b6ff

Browse files
committed
docs(example): add lazy example to docs
1 parent a59d2c6 commit 3f2b6ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@
88
<include-fragment src="./pull.html">Loading</include-fragment>
99
<!-- <script type="module" src="../dist/index.js"></script> -->
1010
<script type="module" src="https://unpkg.com/@github/include-fragment-element@latest?module"></script>
11+
<details>
12+
<summary>Click to unfold a lazy include-fragment</summary>
13+
<include-fragment src="./pull.html" loading="lazy">Loading</include-fragment>
14+
</details>
1115
</body>
1216
</html>

0 commit comments

Comments
 (0)