@likecoin/epub-ts 0.4.8 → 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 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;
@@ -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]