@leafer/interface 1.10.0 → 1.10.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer/interface",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "@leafer/interface",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -14,7 +14,7 @@ export interface ILeaferImageConfig {
14
14
  thumb?: string
15
15
  format?: IExportFileType
16
16
  crossOrigin?: IImageCrossOrigin
17
- showProgress?: boolean // 是否显示进度
17
+ showProgress?: boolean | string // 是否显示进度
18
18
  view?: IObject | ILeaferImage | ILeaferCanvas
19
19
  }
20
20
 
package/types/index.d.ts CHANGED
@@ -1976,7 +1976,7 @@ interface ILeaferImageConfig {
1976
1976
  thumb?: string;
1977
1977
  format?: IExportFileType;
1978
1978
  crossOrigin?: IImageCrossOrigin;
1979
- showProgress?: boolean;
1979
+ showProgress?: boolean | string;
1980
1980
  view?: IObject | ILeaferImage | ILeaferCanvas;
1981
1981
  }
1982
1982
  interface ILeaferImageOnLoaded {