Skip to content

Commit 793fe2f

Browse files
Update app.component.html
1 parent 31ad27a commit 793fe2f

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

src/app/app.component.html

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,26 @@
1-
<div class="container"></div>
1+
<div class="container">
2+
<div class="e-card" *ngIf="isDataLoading; else cardBlock">
3+
<div style="float:left; padding:0 15px 8px 0">
4+
<ejs-skeleton shape="Circle" width="60px"></ejs-skeleton>
5+
</div>
6+
<div style="margin:20px 15px 0;overflow: hidden;">
7+
<ejs-skeleton width="50%" height="15px"></ejs-skeleton>
8+
</div>
9+
<div style="margin:20px 0 0;">
10+
<ejs-skeleton shape="Rectangle" width="100%" height="250px"></ejs-skeleton>
11+
</div>
12+
</div>
13+
<ng-template #cardBlock>
14+
<div class="e-card">
15+
<div style="float:left; padding:0 15px 8px 0">
16+
<img src="https://ej2.syncfusion.com/react/demos/src/skeleton/images/profile.png" style="height:60px;width:60px;border-radius:50px;">
17+
</div>
18+
<div style="margin:20px 15px 0;overflow: hidden;">
19+
<label id="name" style="font-size: 18px;">Laura Callahan</label>
20+
</div>
21+
<div style="margin:20px 0 0;">
22+
<img src="https://ej2.syncfusion.com/react/demos/src/skeleton/images/post.jpg" height="250px" style="background-size: cover; width: 100%;"/>
23+
</div>
24+
</div>
25+
</ng-template>
26+
</div>

0 commit comments

Comments
 (0)