mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 14:13:45 +00:00
update dialogRequest
Signed-off-by: xieqiongyang <xieqiongyang@huawei.com> Change-Id: I855c76a194d23cb596cd247cd7286a1431e36ab0
This commit is contained in:
parent
f40dec50be
commit
4783b9db2c
61
api/@ohos.app.ability.dialogRequest.d.ts
vendored
61
api/@ohos.app.ability.dialogRequest.d.ts
vendored
@ -23,6 +23,55 @@ import Want from './@ohos.app.ability.Want';
|
||||
* @since 9
|
||||
*/
|
||||
declare namespace dialogRequest {
|
||||
/**
|
||||
* Window Rectangle
|
||||
*
|
||||
* @typedef WindowRect
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @StageModelOnly
|
||||
* @since 10
|
||||
*/
|
||||
export interface WindowRect {
|
||||
/**
|
||||
* The left position of WindowRect
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @StageModelOnly
|
||||
* @since 10
|
||||
*/
|
||||
left: number;
|
||||
|
||||
/**
|
||||
* The top position of WindowRect
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @StageModelOnly
|
||||
* @since 10
|
||||
*/
|
||||
top: number;
|
||||
|
||||
/**
|
||||
* The width of WindowRect
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @StageModelOnly
|
||||
* @since 10
|
||||
*/
|
||||
width: number;
|
||||
|
||||
/**
|
||||
* The height of WindowRect
|
||||
*
|
||||
* @type { number }
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @StageModelOnly
|
||||
* @since 10
|
||||
*/
|
||||
height: number;
|
||||
}
|
||||
/**
|
||||
* Request info of a request.
|
||||
*
|
||||
@ -30,7 +79,17 @@ declare namespace dialogRequest {
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @since 9
|
||||
*/
|
||||
export interface RequestInfo {}
|
||||
export interface RequestInfo {
|
||||
/**
|
||||
* The Window of caller.
|
||||
*
|
||||
* @type { ?WindowRect }
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @StageModelOnly
|
||||
* @since 10
|
||||
*/
|
||||
windowRect?: WindowRect
|
||||
}
|
||||
|
||||
/**
|
||||
* The modal bullet box requests the result code.
|
||||
|
Loading…
Reference in New Issue
Block a user