mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Add location and percentage to DIsplayedLocation
This commit is contained in:
parent
5c610143bf
commit
2c29a61537
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,
|
index: number,
|
||||||
href: string,
|
href: string,
|
||||||
cfi: string,
|
cfi: string,
|
||||||
|
location: number,
|
||||||
|
percentage: number,
|
||||||
displayed: {
|
displayed: {
|
||||||
page: number,
|
page: number,
|
||||||
total: number
|
total: number
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue