summaryrefslogtreecommitdiff
path: root/lib/epub.js/types/rendition.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/epub.js/types/rendition.d.ts')
-rw-r--r--lib/epub.js/types/rendition.d.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/epub.js/types/rendition.d.ts b/lib/epub.js/types/rendition.d.ts
index 434286c..489f3fa 100644
--- a/lib/epub.js/types/rendition.d.ts
+++ b/lib/epub.js/types/rendition.d.ts
@@ -25,12 +25,15 @@ export interface RenditionOptions {
overflow?: string,
snap?: boolean | object,
defaultDirection?: string,
+ allowScriptedContent?: boolean
}
export interface DisplayedLocation {
index: number,
href: string,
cfi: string,
+ location: number,
+ percentage: number,
displayed: {
page: number,
total: number