@netless/slide 0.3.4 → 0.3.5

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
@@ -443,5 +443,16 @@ export declare class Slide extends Slide_base {
443
443
  * 销毁方法.
444
444
  */
445
445
  destroy(): void;
446
+ /**
447
+ * 销毁当前 Slide 实例的本地缓存, 需要在 destroy 之前调用。
448
+ */
449
+ clearSlideCache(): void;
450
+ /**
451
+ * 销毁历史所有本地缓存
452
+ */
453
+ static clearLocalCache(): void;
454
+ /**
455
+ * @deprecated 该 api 已经失效, 请用 slideInstance.clearSlideCache 和 Slide.clearLocalCache 替代
456
+ */
446
457
  static disposeLocalCache(): void;
447
458
  }