@nativescript/template-master-detail-ng
Version:
Master-detail interface to display collection of items from json collection and inspect and edit selected item properties.
26 lines (25 loc) • 567 B
HTML
<GridLayout
height="80"
width="80"
class="thumb"
horizontalAlignment="left"
[backgroundImage]="imageUrl"
(tap)="onImageAddRemoveTap()"
>
<GridLayout class="thumb__remove" *ngIf="imageUrl">
<Label
text=""
class="far"
horizontalAlignment="center"
verticalAlignment="center"
></Label>
</GridLayout>
<GridLayout class="thumb__add" *ngIf="!imageUrl">
<Label
text=""
class="fas"
horizontalAlignment="center"
verticalAlignment="center"
></Label>
</GridLayout>
</GridLayout>