mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
!13561 DocumentViewPicker新增可传入window的构造方法
Merge pull request !13561 from BrainL/windowMst
This commit is contained in:
commit
9f46acf403
12
api/@ohos.file.picker.d.ts
vendored
12
api/@ohos.file.picker.d.ts
vendored
@ -20,7 +20,7 @@
|
||||
|
||||
import { AsyncCallback, Callback } from './@ohos.base';
|
||||
import Context from './application/Context';
|
||||
|
||||
import { window } from '@kit.ArkUI';
|
||||
/**
|
||||
* Provide the capabilities to use different pickers.
|
||||
*
|
||||
@ -666,6 +666,16 @@ declare namespace picker {
|
||||
*/
|
||||
constructor(context: Context);
|
||||
|
||||
/**
|
||||
* The constructor used to create a DocumentViewPicker object.
|
||||
*
|
||||
* @param { Context } context - represents the context.
|
||||
* @param { window.Window } window - represents the window.
|
||||
* @syscap SystemCapability.FileManagement.UserFileService
|
||||
* @since 13
|
||||
*/
|
||||
constructor(context: Context, window: window.Window);
|
||||
|
||||
/**
|
||||
* Pull up the document picker based on the selection mode.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user