From 502364b69b2d9db295f7765c368709d89df61d07 Mon Sep 17 00:00:00 2001 From: lixingchi1 Date: Fri, 11 Feb 2022 16:08:23 +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 e3f17eb31b..292fff2b8c 100644 --- a/api/@internal/component/ets/web.d.ts +++ b/api/@internal/component/ets/web.d.ts @@ -5,6 +5,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