@netless/slide 0.1.39 → 0.1.43
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/lib/Slide.d.ts +3 -1
- package/lib/Slide.js +27 -27
- package/package.json +2 -2
package/lib/Slide.d.ts
CHANGED
|
@@ -105,6 +105,7 @@ export interface SyncMediaSeekEvent extends BasicSyncEvent {
|
|
|
105
105
|
}
|
|
106
106
|
export interface SyncInteractiveAnimEvent extends BasicSyncEvent {
|
|
107
107
|
type: "interactiveAnim";
|
|
108
|
+
action: string;
|
|
108
109
|
seqId: string;
|
|
109
110
|
}
|
|
110
111
|
export interface SyncPrevStepEvent extends BasicSyncEvent {
|
|
@@ -158,6 +159,7 @@ export interface SlideEventEmitter {
|
|
|
158
159
|
}
|
|
159
160
|
declare const Slide_base: new () => SlideEventEmitter;
|
|
160
161
|
export declare class Slide extends Slide_base {
|
|
162
|
+
private version?;
|
|
161
163
|
private __slideState;
|
|
162
164
|
private resize;
|
|
163
165
|
private isAnimating;
|
|
@@ -324,7 +326,6 @@ export declare class Slide extends Slide_base {
|
|
|
324
326
|
* 恢复播放状态
|
|
325
327
|
*/
|
|
326
328
|
resume(): void;
|
|
327
|
-
getPreviewImage(slideIndex: number): Promise<string | null>;
|
|
328
329
|
/**
|
|
329
330
|
* 进入冻结状态, 将 ppt 画面缓存为一张图片, 并释放 webgl 上下文
|
|
330
331
|
*/
|
|
@@ -337,5 +338,6 @@ export declare class Slide extends Slide_base {
|
|
|
337
338
|
* 销毁方法.
|
|
338
339
|
*/
|
|
339
340
|
destroy(): void;
|
|
341
|
+
static disposeLocalCache(): void;
|
|
340
342
|
}
|
|
341
343
|
export {};
|