mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
add interface
Signed-off-by: hungry_feiwei <huxiao31@huawei.com>
This commit is contained in:
parent
01044843d1
commit
643dbd707f
11
api/@ohos.multimodalInput.inputDevice.d.ts
vendored
11
api/@ohos.multimodalInput.inputDevice.d.ts
vendored
@ -172,6 +172,17 @@ declare namespace inputDevice {
|
||||
*/
|
||||
function setPointerVisible(visible: boolean, callback: Callback<void>): void;
|
||||
function setPointerVisible(visible: boolean): Promise<void>;
|
||||
|
||||
/**
|
||||
* 设置鼠标样式
|
||||
*
|
||||
* @since 9
|
||||
* @syscap SystemCapability.MultimodalInput.Input.InputDevice
|
||||
* @param iconId 鼠标样式id。
|
||||
* @return callback function, receive reported data
|
||||
*/
|
||||
function setMouseIcon(iconId: number, callback: Callback<boolean>): void;
|
||||
function setMouseIcon(iconId: number): Promise<boolean>;
|
||||
}
|
||||
|
||||
export default inputDevice;
|
Loading…
Reference in New Issue
Block a user