* Removed adv, which isn't needed. * Updated zone * Updated to angular 16 * Updated to angular 16 (partially) * Updated to angular 16 * Package update for Angular 16 (and other dependencies) is complete. * Replaced all takeUntil(this.onDestroy) with new takeUntilDestroyed() * Updated all inputs that have ! to be required and deleted all unit tests. * Corrected how takeUntilDestroyed() is supposed to be implemented.
12 lines
658 B
HTML
12 lines
658 B
HTML
<ng-container *ngIf="isValid() && !this.mangaReaderService.shouldSplit(this.currentImage, this.pageSplit)">
|
|
<div class="image-container {{imageFitClass$ | async}} {{emulateBookClass$ | async}}"
|
|
[style.filter]="(darkness$ | async) ?? '' | safeStyle" [style.height]="(imageContainerHeight$ | async) ?? '' | safeStyle">
|
|
<ng-container *ngIf="currentImage">
|
|
<img alt=" "
|
|
#image [src]="currentImage.src"
|
|
id="image-1"
|
|
class="{{imageFitClass$ | async}} {{readerModeClass$ | async}} {{showClickOverlayClass$ | async}}"
|
|
>
|
|
</ng-container>
|
|
</div>
|
|
</ng-container>
|