@fluid-topics/ft-reader-context 2.0.26 → 2.0.28

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/build/define.js CHANGED
@@ -1,3 +1,3 @@
1
- import { customElement } from "@fluid-topics/ft-wc-utils";
2
- import { FtReaderContext } from "./ft-reader-context";
3
- customElement("ft-reader-context")(FtReaderContext);
1
+ import { customElements } from "@fluid-topics/ft-wc-utils";
2
+ import definitions from "./definitions";
3
+ customElements(definitions);
@@ -0,0 +1,5 @@
1
+ import { FtReaderContext } from "./ft-reader-context";
2
+ declare const _default: {
3
+ "ft-reader-context": typeof FtReaderContext;
4
+ };
5
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { FtReaderContext } from "./ft-reader-context";
2
+ export default {
3
+ "ft-reader-context": FtReaderContext,
4
+ };
@@ -129,6 +129,7 @@ export class FtReaderContext extends FtLitElementRedux {
129
129
  }
130
130
  async reload() {
131
131
  await this.stateManager.reload();
132
+ await this.navigateToTarget();
132
133
  }
133
134
  async navigateToTarget() {
134
135
  await this.stateManager.loaded();