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:
commit
256e1f584b
1 changed files with 2 additions and 0 deletions
2
types/rendition.d.ts
vendored
2
types/rendition.d.ts
vendored
|
@ -32,6 +32,8 @@ export interface DisplayedLocation {
|
|||
index: number,
|
||||
href: string,
|
||||
cfi: string,
|
||||
location: number,
|
||||
percentage: number,
|
||||
displayed: {
|
||||
page: number,
|
||||
total: number
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue