@netless/app-slide 0.2.45-alpha.1 → 0.2.45-alpha.2

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/main.es.js CHANGED
@@ -38591,6 +38591,8 @@ class SlideDocsViewer {
38591
38591
  this.$whiteboardView.classList.add(this.wrapClassName("wb-view-hidden"));
38592
38592
  };
38593
38593
  this.onRenderEnd = () => {
38594
+ };
38595
+ this.onPageChanged = () => {
38594
38596
  this.$overlay.style.opacity = "";
38595
38597
  this.$whiteboardView.classList.remove(this.wrapClassName("wb-view-hidden"));
38596
38598
  };
@@ -39091,7 +39093,7 @@ class SlidePreviewer {
39091
39093
  }
39092
39094
  }
39093
39095
  const usePlugin = /* @__PURE__ */ Slide.Slide.usePlugin.bind(Slide.Slide);
39094
- const version = "0.2.45-alpha.1";
39096
+ const version = "0.2.45-alpha.2";
39095
39097
  const SlideApp = {
39096
39098
  kind: "Slide",
39097
39099
  setup(context) {
@@ -39126,6 +39128,7 @@ const SlideApp = {
39126
39128
  }
39127
39129
  log("[Slide] page to", page, synced ? "(synced)" : "");
39128
39130
  docsViewer.viewer.setPageIndex(page - 1);
39131
+ docsViewer.onPageChanged();
39129
39132
  }
39130
39133
  };
39131
39134
  const mountSlideController = (options) => {