提交 9a891c97 编写于 作者: Z zhouzhichao

add js-apis-document.md

Signed-off-by: Nzhouzhichao <zhouzhichao3@huawei.com>
上级 f36bcb9d
# document
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE:**<br/>
> The interface of this module will be discarded later.
- The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version.
- The interface of this module will be discarded later.Calling the following interface throws an exception. It is not recommended to use the following interface in OpenHarmony.
## Modules to Import
......@@ -9,10 +10,6 @@
import document from '@ohos.document';
```
## Guidelines
Calling the following interface throws an exception. It is not recommended to use the following interface in OpenHarmony.
## document.choose
choose(type:string[]): Promise&lt;string&gt;
......
# document
> ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:**
> 本模块接口后续将废弃
- 本模块首批接口从API version 6开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本
- 本模块接口后续将废弃。不建议在OpenHarmony使用以下接口,调用以下接口将抛出异常。
## 导入模块
```js
import document from '@ohos.document';
```
## 使用说明
调用以下接口抛出异常,不建议在OpenHarmony使用以下接口。
## document.choose
choose(type:string[]): Promise&lt;string&gt;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册