提交 bc760cb3 编写于 作者: L liuwei

add pointer md

Signed-off-by: Nliuwei <liuwei595@huawei.com>
Change-Id: I94aceb4db0ed85af0748de8debf99ee2121d161b
上级 3f95cbf0
......@@ -14,7 +14,7 @@ import pointer from '@ohos.multimodalInput.pointer';
## pointer.setPointerVisibele
setPointerVisible(visible: boolean, callback: AsyncCallback&lt;void&gt;): void;
setPointerVisible(visible: boolean, callback: AsyncCallback&lt;void&gt;): void
设置鼠标指针显示或者隐藏,使用callback方式作为异步方法。
......@@ -41,7 +41,7 @@ pointer.setPointerVisible(true, (err, data) => {
## pointer.setPointerVisible
setPointerVisible(visible: boolean): Promise&lt;void&gt;;
setPointerVisible(visible: boolean): Promise&lt;void&gt;
设置鼠标指针显示或者隐藏,使用Promise方式作为异步方法。
......@@ -71,7 +71,7 @@ pointer.setPointerVisible(false).then( data => {
## pointer.isPointerVisible
isPointerVisible(callback: AsyncCallback&lt;boolean&gt;): void;
isPointerVisible(callback: AsyncCallback&lt;boolean&gt;): void
获取鼠标指针显示或隐藏状态,使用callback方式作为异步方法。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册