superapp-miniapp-invoke-native 1.0.45 → 1.0.46
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/main.d.ts +14 -1
- package/package.json +1 -1
package/lib/main.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ declare class NativeApi
|
|
|
77
77
|
) => void;
|
|
78
78
|
};
|
|
79
79
|
homeHandle(cb: PluginCallback): void;
|
|
80
|
-
setFabHandle(data:
|
|
80
|
+
setFabHandle(data: SetFabDataType): void;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
declare interface NativeAppInfoConfigType {
|
|
@@ -110,6 +110,19 @@ declare interface registerBackBtnParamsType {
|
|
|
110
110
|
onUnmounted: (fn: () => void) => void;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
declare interface SetFabDataParamsType {
|
|
114
|
+
fun: (value?: any) => void;
|
|
115
|
+
id: string;
|
|
116
|
+
name: string;
|
|
117
|
+
title: string;
|
|
118
|
+
icon: string;
|
|
119
|
+
[key: string]: any;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
declare interface SetFabDataType {
|
|
123
|
+
setFabData: SetFabDataParamsType[];
|
|
124
|
+
}
|
|
125
|
+
|
|
113
126
|
declare interface SpecifiedPageType {
|
|
114
127
|
cb: (params: any) => void;
|
|
115
128
|
}
|