xframelib 1.1.9 → 1.2.0
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/dist/composables/useWidget.d.ts +9 -4
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -24,6 +24,10 @@ export declare function useWidget(): {
|
|
|
24
24
|
* widget ID标识
|
|
25
25
|
*/
|
|
26
26
|
wid: any;
|
|
27
|
+
/**
|
|
28
|
+
* LayoutID
|
|
29
|
+
*/
|
|
30
|
+
layoutid: any;
|
|
27
31
|
/**
|
|
28
32
|
* widget配置
|
|
29
33
|
*/
|
|
@@ -63,12 +67,13 @@ export declare function useWidget(): {
|
|
|
63
67
|
* @returns
|
|
64
68
|
*/
|
|
65
69
|
isActivate: (widgetID?: string) => boolean | undefined;
|
|
70
|
+
toggleLoad: (widOption?: string | string[], loadStatus?: boolean) => void;
|
|
71
|
+
toggleActivate: (widOption?: string | string[]) => void;
|
|
66
72
|
/**
|
|
67
|
-
*
|
|
73
|
+
* 加载或卸载指定 widget模块
|
|
68
74
|
* ( 加载或卸载 )
|
|
69
75
|
* @param widOption
|
|
70
|
-
* @param needLoad 加载还是卸载
|
|
71
76
|
*/
|
|
72
|
-
activate: (widOption?: string | string[]
|
|
73
|
-
disable: (option
|
|
77
|
+
activate: (widOption?: string | string[]) => void;
|
|
78
|
+
disable: (option?: string | string[]) => void;
|
|
74
79
|
};
|