mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
!14684 startOptions新增supportWindowModes字段
Merge pull request !14684 from 杨旭光/feat/support-window-modes
This commit is contained in:
commit
ad806aa5cf
11
api/@ohos.app.ability.StartOptions.d.ts
vendored
11
api/@ohos.app.ability.StartOptions.d.ts
vendored
@ -20,6 +20,7 @@
|
||||
|
||||
import contextConstant from "./@ohos.app.ability.contextConstant";
|
||||
import image from "./@ohos.multimedia.image";
|
||||
import bundleManager from './@ohos.bundle.bundleManager';
|
||||
|
||||
/**
|
||||
* StartOptions is the basic communication component of the system.
|
||||
@ -173,4 +174,14 @@ export default class StartOptions {
|
||||
* @since 14
|
||||
*/
|
||||
startWindowBackgroundColor?: string;
|
||||
|
||||
/**
|
||||
* The support window modes.
|
||||
*
|
||||
* @type { ?Array<bundleManager.SupportWindowMode> }
|
||||
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
||||
* @stagemodelonly
|
||||
* @since 14
|
||||
*/
|
||||
supportWindowModes?: Array<bundleManager.SupportWindowMode>;
|
||||
}
|
Loading…
Reference in New Issue
Block a user