@hyext/types-ext-sdk-hy 3.20.1-beta.2 → 3.20.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/index.d.ts +16 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9839,6 +9839,12 @@ namespace ui {
|
|
|
9839
9839
|
* @returns 调用结果
|
|
9840
9840
|
*/
|
|
9841
9841
|
function offKeyboardComplete(params?: OffKeyboardCompleteReq): Promise<void>;
|
|
9842
|
+
/**
|
|
9843
|
+
* 设置webview背景色的接口
|
|
9844
|
+
* @param [params] - 调用参数
|
|
9845
|
+
* @returns 调用结果
|
|
9846
|
+
*/
|
|
9847
|
+
function setBackgroundColor(params?: SetBackgroundColorReq): Promise<void>;
|
|
9842
9848
|
}
|
|
9843
9849
|
|
|
9844
9850
|
/**
|
|
@@ -10294,6 +10300,16 @@ type OffKeyboardCompleteReq = {
|
|
|
10294
10300
|
callback?: KeyboardCompleteCallback;
|
|
10295
10301
|
};
|
|
10296
10302
|
|
|
10303
|
+
/**
|
|
10304
|
+
* 设置webview背景色的接口参数
|
|
10305
|
+
* @property color - 浅色模式设置的背景色
|
|
10306
|
+
* @property darkColor - 深色模式设置的背景色
|
|
10307
|
+
*/
|
|
10308
|
+
type SetBackgroundColorReq = {
|
|
10309
|
+
color: string;
|
|
10310
|
+
darkColor: string;
|
|
10311
|
+
};
|
|
10312
|
+
|
|
10297
10313
|
/**
|
|
10298
10314
|
* HY vidoe
|
|
10299
10315
|
*/
|