aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-02-24 17:04:29 +0000
committer杨宇千 <crupest@outlook.com>2019-02-24 17:04:29 +0000
commit472cfcb7281cf8ee9dd3f22639c1370f99f7db16 (patch)
tree545c805dbd163da10845dfc352a4b3fe8e5ec01b /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html
parent5e3896fee6b0d376cb7c3f1927596a8ed00e40e4 (diff)
parentad16dbe268984d639c4924fb8bb1e69e68c0fef7 (diff)
downloadtimeline-472cfcb7281cf8ee9dd3f22639c1370f99f7db16.tar.gz
timeline-472cfcb7281cf8ee9dd3f22639c1370f99f7db16.tar.bz2
timeline-472cfcb7281cf8ee9dd3f22639c1370f99f7db16.zip
Merged PR 9: Add entrance animation of todo item.
Add entrance animation of todo item. Related work items: #5
Diffstat (limited to 'Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html')
-rw-r--r--Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html b/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html
index 505032a6..e8f5f30b 100644
--- a/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html
+++ b/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.html
@@ -1,9 +1,9 @@
-<mat-progress-bar *ngIf="!items" mode="indeterminate"></mat-progress-bar>
+<mat-progress-bar *ngIf="!isLoadCompleted" mode="indeterminate"></mat-progress-bar>
<mat-list>
<mat-list-item *ngFor="let item of items; let i = index" style="height:unset;">
<div class="item-box" [class.first-item-box]="i === 0" [class.non-first-item-box]="i !== 0">
- <app-todo-item [class.align-self-bottom]="i === 0" [item]="item"></app-todo-item>
+ <app-todo-item @itemEnter [class.align-self-bottom]="i === 0" [item]="item"></app-todo-item>
<div class="space"></div>
<div class="sample-box" *ngIf="i === 0">
<div class="mat-caption sample-item">