@netless/slide 1.4.52 → 1.4.54
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 +9 -1
- package/lib/Lock.js +3 -0
- package/lib/Slide.d.ts +2 -0
- package/lib/Slide.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,7 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
## changelog
|
|
6
6
|
|
|
7
|
-
### 1.
|
|
7
|
+
### 1.5.54 (2026-04-09)
|
|
8
|
+
* 修复在部分安卓机型上对比度特效导致图片还原度不一致
|
|
9
|
+
|
|
10
|
+
### 1.4.53 (2026-03-23)
|
|
11
|
+
* 添加自动重试 (在使用 loaderDelegate 时不生效)
|
|
12
|
+
* 可选传入 最大重试次数, 默认为 3
|
|
13
|
+
* 可选传入 最大重试次数失败的回调
|
|
14
|
+
|
|
15
|
+
### 1.4.52 (2026-03-03)
|
|
8
16
|
* 修复连续点击下一步会一直重复进行下一部动画问题
|
|
9
17
|
|
|
10
18
|
### 1.4.51 (2026-2-26)
|
package/lib/Lock.js
CHANGED
package/lib/Slide.d.ts
CHANGED
|
@@ -276,6 +276,8 @@ export interface ISlideConfig {
|
|
|
276
276
|
skipActionWhenFrozen?: boolean;
|
|
277
277
|
enableAutoForward?: boolean;
|
|
278
278
|
customLinks?: CustomLink[];
|
|
279
|
+
resourceMaxRetries?: number;
|
|
280
|
+
onResourceMaxRetries?: (url: string, error: Error) => void;
|
|
279
281
|
}
|
|
280
282
|
interface MediaState {
|
|
281
283
|
type: "pause" | "play";
|