POC for detailed gallery view

This commit is contained in:
2020-10-18 19:25:53 +02:00
parent e15b16a65f
commit 45c1648773
14 changed files with 312 additions and 42 deletions

View File

@@ -19,6 +19,7 @@
<pdb-gallery-filter-view (valueChanged)="filterChanged($event)"></pdb-gallery-filter-view>
<mat-checkbox [(ngModel)]="showDetails">Show Details</mat-checkbox>
</div>
<div
*ngIf="show && progress != 100 && totalNumberImages > 0"
@@ -36,9 +37,9 @@
class="card-grid-container">
<div
id="gallery"
class="card-grid-300">
[ngClass]="{'card-grid-300' : !showDetails, 'card-grid-100p': showDetails}">
<pdb-gallery-item-view
*ngFor="let galleryItem of filteredSortedGalleryItems()" [data]="galleryItem">
*ngFor="let galleryItem of filteredSortedGalleryItems()" [data]="galleryItem" [showDetails]="showDetails">
</pdb-gallery-item-view>
</div>
</div>