POC for detailed gallery view
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user