@netless/slide 0.4.2 → 0.4.4

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 CHANGED
@@ -571,3 +571,6 @@ const slide = new Slide({
571
571
  * 修复事件穿透问题
572
572
  * 修复音频重复播放问题
573
573
  * 修复翻页后触发器动画被重置的问题
574
+
575
+ #### 0.4.3
576
+ * 新增 hasPrevStep 及 hasNextStep api
package/lib/Slide.d.ts CHANGED
@@ -488,6 +488,14 @@ export declare class Slide extends Slide_base {
488
488
  * 销毁当前 Slide 实例的本地缓存, 需要在 destroy 之前调用。
489
489
  */
490
490
  clearSlideCache(): void;
491
+ /**
492
+ * 返回 ppt 是否存在下一步动作
493
+ */
494
+ hasNextStep(): boolean;
495
+ /**
496
+ * 返回 ppt 是否存在上一步动作
497
+ */
498
+ hasPrevStep(): boolean;
491
499
  /**
492
500
  * 销毁历史所有本地缓存
493
501
  */