@likecoin/epub-ts 0.4.7 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/book.d.ts +6 -0
- package/dist/contents.d.ts +7 -0
- package/dist/epub.cjs +3 -3
- package/dist/epub.cjs.map +1 -1
- package/dist/epub.js +228 -172
- package/dist/epub.js.map +1 -1
- package/dist/epub.node.cjs +3 -3
- package/dist/epub.node.cjs.map +1 -1
- package/dist/epub.node.js +317 -261
- package/dist/epub.node.js.map +1 -1
- package/dist/epub.umd.js +3 -3
- package/dist/epub.umd.js.map +1 -1
- package/dist/locations.d.ts +1 -1
- package/dist/store.d.ts +1 -2
- package/package.json +1 -1
package/dist/book.d.ts
CHANGED
|
@@ -64,6 +64,12 @@ declare class Book implements IEventEmitter<BookEvents> {
|
|
|
64
64
|
loading: BookLoadingState;
|
|
65
65
|
loaded: BookLoadedState;
|
|
66
66
|
ready: Promise<[PackagingManifestObject, Spine, PackagingMetadataObject, string, Navigation, Resources, DisplayOptions]>;
|
|
67
|
+
/**
|
|
68
|
+
* @member {Promise<void>} replacementsReady resolves when all resource
|
|
69
|
+
* replacement URLs (blob/base64) have been created. Undefined for
|
|
70
|
+
* unarchived books or when replacements are "none".
|
|
71
|
+
*/
|
|
72
|
+
replacementsReady: Promise<void> | undefined;
|
|
67
73
|
isRendered: boolean;
|
|
68
74
|
request: RequestFunction;
|
|
69
75
|
spine: Spine;
|
package/dist/contents.d.ts
CHANGED
|
@@ -127,6 +127,13 @@ declare class Contents implements IEventEmitter<ContentsEvents> {
|
|
|
127
127
|
* @param {boolean} [priority] set as "important"
|
|
128
128
|
*/
|
|
129
129
|
css(property: string, value?: string, priority?: boolean): string;
|
|
130
|
+
/**
|
|
131
|
+
* Set multiple Css properties at once without triggering
|
|
132
|
+
* intermediate getComputedStyle reads.
|
|
133
|
+
* @param {Array<[string, string?, boolean?]>} properties
|
|
134
|
+
* @private
|
|
135
|
+
*/
|
|
136
|
+
cssBatch(properties: [string, string?, boolean?][]): void;
|
|
130
137
|
/**
|
|
131
138
|
* Get or Set the viewport element
|
|
132
139
|
* @param {object} [options]
|