Skip to content

Commit

Permalink
Update deferandcontrolflow.html
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkirathe authored Jun 13, 2024
1 parent 31eaa4e commit fb4ebb9
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions dev/deferandcontrolflow.html
Original file line number Diff line number Diff line change
@@ -1,24 +1 @@

<div>
<div >
<h1>drag-drop-upload-app</h1>

</div>
<div style="height: 1200px;"></div>
<!-- @defer (render on server; on viewport) { -->
<!-- @defer (on timer(1000); on viewport) { -->
<!-- @defer (on hover(title)) { -->
@defer (on viewport(title)) {
<upload>
<span class="greeting">Good morning </span>

</upload>
} @placeholder(){
<h1>Welcome</h1>
<h2>To</h2>
<h1>My Page</h1>
} @loading(minimum 1s){
<h2>Loading....</h2>
}
<h1 #title>Welcome To My Blog</h1>
</div>

0 comments on commit fb4ebb9

Please sign in to comment.