Mercurial > hg > ugly-duckling
comparison src/app/notebook-feed/notebook-feed.component.html @ 232:77ada2e07997
Setup feed for OnPush strategy and pass single items to children
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Mon, 24 Apr 2017 16:39:32 +0100 |
parents | 1c1cc4ec183c |
children | 53ea6406d601 |
comparison
equal
deleted
inserted
replaced
231:0249ee049353 | 232:77ada2e07997 |
---|---|
1 | 1 |
2 <template ngFor let-item [ngForOf]="analyses"> | 2 <template ngFor let-item [ngForOf]="analyses"> |
3 <div [class.break]="item.isRoot"> | 3 <div [class.break]="item.isRoot"> |
4 <ugly-analysis-item | 4 <ugly-analysis-item |
5 [timeline]="item.hasSharedTimeline ? sharedTimeline : undefined" | 5 [timeline]="item.hasSharedTimeline ? sharedTimeline : undefined" |
6 [title]="item.title" | |
7 [description]="item.description" | |
8 [isActive]="rootAudioUri === item.rootAudioUri" | 6 [isActive]="rootAudioUri === item.rootAudioUri" |
9 [isRoot]="item.isRoot" | 7 [item]="item" |
10 [id]="item.id" | |
11 [progress]="item.progress" | |
12 ></ugly-analysis-item> | 8 ></ugly-analysis-item> |
13 </div> | 9 </div> |
14 </template> | 10 </template> |