@netless/slide 1.4.12 → 1.4.13-alpha.10

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 CHANGED
@@ -278,6 +278,7 @@ interface ISlideState {
278
278
  interactiveSeqState: {
279
279
  [key: string]: TimeNodeSeqState;
280
280
  };
281
+ uuid?: string;
281
282
  }
282
283
  export declare type SyncEvent = SyncInteractiveAnimEvent | SyncPrevStepEvent | SyncNextStepEvent | SyncRenderSlideEvent | SyncSetResourceEvent | SyncMediaPlayEvent | SyncMediaPauseEvent | SyncMediaSeekEvent | SyncMediaFullscreenEvent;
283
284
  export interface BasicSyncEvent {
@@ -481,6 +482,10 @@ export declare class Slide extends Slide_base {
481
482
  * @param state ISlideState
482
483
  */
483
484
  setSlideState(state: Partial<ISlideState>): Promise<void>;
485
+ applySlideState(state: Partial<ISlideState>): Promise<void>;
486
+ getSlideState(): ISlideState;
487
+ private applyInteractiveSeqState;
488
+ private playInteractiveAnim;
484
489
  private initInteractiveSeq;
485
490
  private initMedia;
486
491
  /**