Skip to content

API: add getPageCount() method#293

Open
ronja-koistinen wants to merge 1 commit into
tify-iiif-viewer:mainfrom
ronja-koistinen:feature-getpagecount
Open

API: add getPageCount() method#293
ronja-koistinen wants to merge 1 commit into
tify-iiif-viewer:mainfrom
ronja-koistinen:feature-getpagecount

Conversation

@ronja-koistinen
Copy link
Copy Markdown
Contributor

@ronja-koistinen ronja-koistinen commented Feb 26, 2026

Our designers have a need for displaying the total page count on the page. I figured out you can get it like this:

    tify = new Tify();
    tify.ready.then(() => {
        console.log(tify.app.config.globalProperties.$store.pageCount);
    });

But I thought it would be nice to have an easier to use method for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant