feat: click on manga page to change page

This commit is contained in:
2024-07-20 22:36:31 +03:00
parent d710d6bac5
commit 8c9efd4371
6 changed files with 52 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
<div class="image-container" #container>
@if (imageSrc) {
<img #image [src]="imageSrc" (load)="onImageLoad()" alt="Manga page" />
<img #image [src]="imageSrc" (load)="onImageLoad()" alt="Manga page" class="cursor-pointer" />
} @else {
<div class="h-screen flex flex-col items-center justify-center"><h1>Loading...</h1></div>
}