add swiper view to show

This commit is contained in:
2023-05-18 11:54:47 +02:00
parent e94766898d
commit 551bed9a77
16 changed files with 162 additions and 22 deletions

View File

@@ -1,10 +1,10 @@
<div *ngIf="iSong && iSong && show">
<div *ngIf="show.published" class="title published">
<div *ngIf="show.published || fullscreen" class="title published">
<div class="key">{{ iSong.key }}</div>
<div>{{ iSong.title }}</div>
</div>
<div *ngIf="!show.published" class="song">
<div *ngIf="!show.published && !fullscreen" class="song">
<span class="title">{{ iSong.title }}</span>
<span *ngIf="!edit" class="keys">
<span *ngIf="iSong.keyOriginal !== iSong.key">{{ iSong.keyOriginal }}&nbsp;&nbsp;</span>

View File

@@ -19,6 +19,7 @@ export class SongComponent implements OnInit {
@Input() public showId: string | null = null;
@Input() public showText: boolean | null = null;
@Input() public index = -1;
@Input() public fullscreen = false;
public keys: string[] = [];
public faDelete = faTrash;