@netless/app-slide 0.2.76 → 0.2.77
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/index.d.ts +2 -1
- package/dist/main.cjs.js +1 -1
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +4 -2
- package/dist/main.es.js.map +1 -1
- package/dist/main.iife.js +1 -1
- package/dist/main.iife.js.map +1 -1
- package/package.json +1 -1
- package/src/SlideController/index.ts +3 -1
- package/src/index.ts +0 -1
- package/src/typings.ts +2 -1
package/dist/main.es.js
CHANGED
|
@@ -37622,7 +37622,8 @@ const EmptyAttributes = {
|
|
|
37622
37622
|
url: "",
|
|
37623
37623
|
state: null,
|
|
37624
37624
|
resourceList: [],
|
|
37625
|
-
previewList: []
|
|
37625
|
+
previewList: [],
|
|
37626
|
+
customLinks: []
|
|
37626
37627
|
};
|
|
37627
37628
|
const noop$1 = function noop2() {
|
|
37628
37629
|
};
|
|
@@ -37865,6 +37866,7 @@ class SlideController {
|
|
|
37865
37866
|
createSlide(anchor, defaults = {}) {
|
|
37866
37867
|
var _a, _b, _c;
|
|
37867
37868
|
const options = this.context.getAppOptions() || {};
|
|
37869
|
+
const attribute = this.context.storage.state;
|
|
37868
37870
|
const slide = new Slide.Slide({
|
|
37869
37871
|
anchor,
|
|
37870
37872
|
interactive: true,
|
|
@@ -37893,7 +37895,7 @@ class SlideController {
|
|
|
37893
37895
|
whiteTracker: defaults.whiteTracker,
|
|
37894
37896
|
timestamp: this.timestamp,
|
|
37895
37897
|
skipActionWhenFrozen: true,
|
|
37896
|
-
customLinks:
|
|
37898
|
+
customLinks: attribute.customLinks
|
|
37897
37899
|
});
|
|
37898
37900
|
return slide;
|
|
37899
37901
|
}
|