From 155c8931f25336a085a9e550f538efafe0384eb5 Mon Sep 17 00:00:00 2001 From: chyyy0213 Date: Wed, 13 Apr 2022 15:56:40 +0800 Subject: [PATCH] fixed 482c356 from https://gitee.com/chyyy0213/interface_sdk-js/pulls/1526 modify some interface to systemapi Signed-off-by: chyyy0213 Change-Id: I53171ede3105c290ec363e83a2e003d5cad1e5b2 --- api/@ohos.window.d.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 9313341112..02f7a0336e 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -105,7 +105,7 @@ declare namespace window { * the content color of the navigation bar * @since 8 */ - navigationBarContentColor?: string; + navigationBarContentColor?: string; } /** @@ -267,6 +267,7 @@ declare namespace window { /** * The dimbehind value of window. + * @systemapi Hide this for inner system use. * @since 7 */ dimBehindValue: number @@ -595,13 +596,13 @@ declare namespace window { */ loadContent(path: string, callback: AsyncCallback): void; - /** + /** * Loads content * @param path path of the page to which the content will be loaded * @syscap SystemCapability.WindowManager.WindowManager.Core * @since 7 */ - loadContent(path: string): Promise; + loadContent(path: string): Promise; /** * Checks whether the window is displayed @@ -739,6 +740,7 @@ declare namespace window { * Sets the dimBehind of window. * @param dimBehindValue the specified dimBehind. * @syscap SystemCapability.WindowManager.WindowManager.Core + * @systemapi Hide this for inner system use. * @since 7 */ setDimBehind(dimBehindValue: number, callback: AsyncCallback): void; @@ -747,6 +749,7 @@ declare namespace window { * Sets the dimBehind of window. * @param dimBehind the specified dimBehind. * @syscap SystemCapability.WindowManager.WindowManager.Core + * @systemapi Hide this for inner system use. * @since 7 */ setDimBehind(dimBehindValue: number): Promise; @@ -787,6 +790,7 @@ declare namespace window { * Sets whether outside can be touch or not. * @param touchable outside can be touch if true, or not if false. * @syscap SystemCapability.WindowManager.WindowManager.Core + * @systemapi Hide this for inner system use. * @since 7 */ setOutsideTouchable(touchable: boolean): Promise; -- Gitee