fix: performance degradation when scrolling

This commit is contained in:
Rainer Killinger
2021-05-04 11:33:48 +02:00
parent add690c842
commit f0a45d1b8e
15 changed files with 607 additions and 392 deletions

View File

@@ -25,12 +25,17 @@ import {DataRoutingService} from '../data-routing.service';
templateUrl: 'data-list-item.html',
})
export class DataListItem {
/**
* Whether or not the list item should show a thumbnail
*/
@Input() hideThumbnail = false;
/**
* An item to show
*/
@Input() item: SCThings;
constructor(private dataRoutingService: DataRoutingService) {}
constructor(private readonly dataRoutingService: DataRoutingService) {}
/**
* Emit event that an item was selected