@netless/slide 0.3.3 → 0.3.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/lib/Slide.d.ts +5 -0
- package/lib/Slide.js +2 -2
- package/package.json +2 -2
package/lib/Slide.d.ts
CHANGED
|
@@ -144,6 +144,11 @@ export interface ISlideConfig {
|
|
|
144
144
|
* 提供 logger 对象, 用以记录运行日志
|
|
145
145
|
*/
|
|
146
146
|
logger?: ILogger;
|
|
147
|
+
/**
|
|
148
|
+
* 是否启用本地缓存,启用后会将 ppt 远程资源缓存在 indexDB 中
|
|
149
|
+
* 默认为 true
|
|
150
|
+
*/
|
|
151
|
+
useLocalCache?: boolean;
|
|
147
152
|
}
|
|
148
153
|
interface MediaState {
|
|
149
154
|
type: "pause" | "play";
|