1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-02 14:49:16 +02:00

Merge pull request #1238 from rafaelsaback/patch-3

Add location and percentage to DisplayedLocation
This commit is contained in:
Fred Chasen 2022-01-07 11:20:03 -08:00 committed by GitHub
commit 256e1f584b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,8 @@ export interface DisplayedLocation {
index: number, index: number,
href: string, href: string,
cfi: string, cfi: string,
location: number,
percentage: number,
displayed: { displayed: {
page: number, page: number,
total: number total: number