@netless/slide 1.4.13-alpha.9 → 1.4.14-alpha.0
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/README.md +3 -0
- package/lib/Slide.d.ts +1 -5
- package/lib/Slide.js +23 -23
- package/package.json +2 -2
package/README.md
CHANGED
package/lib/Slide.d.ts
CHANGED
|
@@ -255,6 +255,7 @@ export interface ISlideConfig {
|
|
|
255
255
|
* default is true
|
|
256
256
|
*/
|
|
257
257
|
enableTracking?: boolean;
|
|
258
|
+
enableWebAudio?: boolean;
|
|
258
259
|
}
|
|
259
260
|
interface MediaState {
|
|
260
261
|
type: "pause" | "play";
|
|
@@ -278,7 +279,6 @@ interface ISlideState {
|
|
|
278
279
|
interactiveSeqState: {
|
|
279
280
|
[key: string]: TimeNodeSeqState;
|
|
280
281
|
};
|
|
281
|
-
uuid?: string;
|
|
282
282
|
}
|
|
283
283
|
export declare type SyncEvent = SyncInteractiveAnimEvent | SyncPrevStepEvent | SyncNextStepEvent | SyncRenderSlideEvent | SyncSetResourceEvent | SyncMediaPlayEvent | SyncMediaPauseEvent | SyncMediaSeekEvent | SyncMediaFullscreenEvent;
|
|
284
284
|
export interface BasicSyncEvent {
|
|
@@ -482,10 +482,6 @@ export declare class Slide extends Slide_base {
|
|
|
482
482
|
* @param state ISlideState
|
|
483
483
|
*/
|
|
484
484
|
setSlideState(state: Partial<ISlideState>): Promise<void>;
|
|
485
|
-
applySlideState(state: Partial<ISlideState>): Promise<void>;
|
|
486
|
-
getSlideState(): ISlideState;
|
|
487
|
-
private applyInteractiveSeqState;
|
|
488
|
-
private playInteractiveAnim;
|
|
489
485
|
private initInteractiveSeq;
|
|
490
486
|
private initMedia;
|
|
491
487
|
/**
|