interface Album {
    currentIndex: number;
    goto: ((n) => void);
    hooked?: boolean;
    info?: AlbumInfo;
    next: (() => void);
    numPages: number;
    prev: (() => void);
}

Properties

currentIndex: number

The current page index

goto: ((n) => void)

Go to specific page index

Type declaration

    • (n): void
    • Parameters

      • n: number

      Returns void

hooked?: boolean

Album has been initialized and hooked

info?: AlbumInfo

The album info

next: (() => void)

Go to next page

Type declaration

    • (): void
    • Returns void

numPages: number

The number of pages in this album

prev: (() => void)

Go to previous page

Type declaration

    • (): void
    • Returns void