@d-i-t-a/reader 3.0.0-alpha.18 → 3.0.0-alpha.19

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.
@@ -212,8 +212,9 @@ export default class D2Reader {
212
212
  get atEnd(): boolean;
213
213
  snapToSelector: (selector: any) => Promise<void>;
214
214
  /**
215
- * You have attributes in the reader when you initialize it. You can set margin, navigationHeight etc...
216
- * This is in case you change the attributes after initializing the reader.
215
+ * Update the navigator `IFrameAttributes` after the reader has been initialized.
216
+ * Use this to change `margin`, `iframe.padding`, `safeArea`, or fixed-layout
217
+ * attributes at runtime. The navigator re-applies them on the next resize.
217
218
  */
218
219
  applyAttributes: (value: IFrameAttributes) => void;
219
220
  applyLineFocusSettings(userSettings: any): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-i-t-a/reader",
3
- "version": "3.0.0-alpha.18",
3
+ "version": "3.0.0-alpha.19",
4
4
  "description": "A viewer application for EPUB files.",
5
5
  "repository": "https://github.com/d-i-t-a/R2D2BC",
6
6
  "license": "Apache-2.0",