{
this.open(e.detail.id);
});
},
open(bookId) {
this.currentBookId = bookId;
// Cari buku dari data yang sudah dimuat
this.book = this.booksData.find(b => b.id == bookId) || null;
this.isOpen = true;
document.body.style.overflow = 'hidden';
},
close() {
this.isOpen = false;
this.book = null;
this.currentBookId = null;
document.body.style.overflow = '';
}
}"
x-cloak
>
ISBN
Tahun
Penerbit
Bahasa
Sinopsis
Lokasi Buku
• •