@inappstory/slide-api 0.1.25 → 0.1.26
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.cjs +309 -100
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +309 -100
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1143,6 +1143,7 @@ interface SDKApi {
|
|
|
1143
1143
|
cardShowNext(): void;
|
|
1144
1144
|
setCardSessionValue(element: HTMLElement, key: string, value: string): void;
|
|
1145
1145
|
getCardSessionValue(element: HTMLElement, key: string): string | undefined;
|
|
1146
|
+
isSdkSupportUpdateTimeline(): boolean;
|
|
1146
1147
|
updateTimeline(slideIndex: number, action: TIMELINE_ACTION, currentTime: number, duration: number, showLoader: boolean, showError: boolean): void;
|
|
1147
1148
|
/** @deprecated, used only in native sdk **/
|
|
1148
1149
|
cardPausedCallback(currentTime: number | null): void;
|
|
@@ -1211,6 +1212,7 @@ interface ISlideApiDeps {
|
|
|
1211
1212
|
showNextSlide: SDKApi["showNextSlide"];
|
|
1212
1213
|
isSdkSupportCorrectPauseResumeLifecycle: SDKApi["isSdkSupportCorrectPauseResumeLifecycle"];
|
|
1213
1214
|
isSdkSupportTimelineOnBeforeStart: SDKApi["isSdkSupportTimelineOnBeforeStart"];
|
|
1215
|
+
isSdkSupportUpdateTimeline: SDKApi["isSdkSupportUpdateTimeline"];
|
|
1214
1216
|
updateTimeline: SDKApi["updateTimeline"];
|
|
1215
1217
|
/** @deprecated, used only in native sdk **/
|
|
1216
1218
|
cardPausedCallback: SDKApi["cardPausedCallback"];
|
|
@@ -2006,6 +2008,7 @@ declare class CardApi {
|
|
|
2006
2008
|
private activeSlide;
|
|
2007
2009
|
private slides;
|
|
2008
2010
|
private slidesMode;
|
|
2011
|
+
private cardLoadingStateController;
|
|
2009
2012
|
private sizeMetrics;
|
|
2010
2013
|
constructor(config: {
|
|
2011
2014
|
sdkApi: SDKApi;
|
package/dist/index.d.ts
CHANGED
|
@@ -1143,6 +1143,7 @@ interface SDKApi {
|
|
|
1143
1143
|
cardShowNext(): void;
|
|
1144
1144
|
setCardSessionValue(element: HTMLElement, key: string, value: string): void;
|
|
1145
1145
|
getCardSessionValue(element: HTMLElement, key: string): string | undefined;
|
|
1146
|
+
isSdkSupportUpdateTimeline(): boolean;
|
|
1146
1147
|
updateTimeline(slideIndex: number, action: TIMELINE_ACTION, currentTime: number, duration: number, showLoader: boolean, showError: boolean): void;
|
|
1147
1148
|
/** @deprecated, used only in native sdk **/
|
|
1148
1149
|
cardPausedCallback(currentTime: number | null): void;
|
|
@@ -1211,6 +1212,7 @@ interface ISlideApiDeps {
|
|
|
1211
1212
|
showNextSlide: SDKApi["showNextSlide"];
|
|
1212
1213
|
isSdkSupportCorrectPauseResumeLifecycle: SDKApi["isSdkSupportCorrectPauseResumeLifecycle"];
|
|
1213
1214
|
isSdkSupportTimelineOnBeforeStart: SDKApi["isSdkSupportTimelineOnBeforeStart"];
|
|
1215
|
+
isSdkSupportUpdateTimeline: SDKApi["isSdkSupportUpdateTimeline"];
|
|
1214
1216
|
updateTimeline: SDKApi["updateTimeline"];
|
|
1215
1217
|
/** @deprecated, used only in native sdk **/
|
|
1216
1218
|
cardPausedCallback: SDKApi["cardPausedCallback"];
|
|
@@ -2006,6 +2008,7 @@ declare class CardApi {
|
|
|
2006
2008
|
private activeSlide;
|
|
2007
2009
|
private slides;
|
|
2008
2010
|
private slidesMode;
|
|
2011
|
+
private cardLoadingStateController;
|
|
2009
2012
|
private sizeMetrics;
|
|
2010
2013
|
constructor(config: {
|
|
2011
2014
|
sdkApi: SDKApi;
|