From 164d22ca1846a5936153b353f2ec2aa82fd57f78 Mon Sep 17 00:00:00 2001
From: lianyuanqi
Date: Sat, 13 Sep 2025 15:53:33 +0800
Subject: [PATCH] Add JavaScriptOnDocumentStart instructions
Signed-off-by: lianyuanqi
---
api/@internal/component/ets/web.d.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/api/@internal/component/ets/web.d.ts b/api/@internal/component/ets/web.d.ts
index 33f6824f2c..5de6c62b60 100644
--- a/api/@internal/component/ets/web.d.ts
+++ b/api/@internal/component/ets/web.d.ts
@@ -9946,6 +9946,7 @@ declare class WebAttribute extends CommonMethod {
* When scripts with identical content are injected multiple times,
* silent deduplication will be performed: repeated scripts will neither be displayed nor prompted,
* and the scriptRules used during the first injection will be adopted.
+ * javaScriptOnDocumentStart executes after onControllerAttached.
*
*
* @param { Array } scripts - The array of the JavaScripts to be injected.
--
Gitee