From a499c9f72a581d16be79a97325a334ace03b897b Mon Sep 17 00:00:00 2001 From: lixingchi1 Date: Mon, 14 Feb 2022 08:57:11 +0800 Subject: [PATCH] lixingchi1@huawei.com Signed-off-by: lixingchi1 --- api/@internal/component/ets/web.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts index 00ea08058b..32fb770fb1 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -169,6 +169,18 @@ declare class WebController { */ constructor(); + /** + * Let the Web inactive. + * @since 8 + */ + onInactive(): void; + + /** + * Let the Web active. + * @since 8 + */ + onActive(): void; + /** * Means to load a piece of code and execute JS code in the context of the currently displayed page * @since 8 -- Gitee