aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/window
diff options
context:
space:
mode:
authorGenitana <24569873+Genitana@users.noreply.github.com>2021-08-12 12:26:49 +0800
committerGitHub <noreply@github.com>2021-08-12 12:26:49 +0800
commit9c7081d94a149ed22801e7b7df8ccd2cfbf81225 (patch)
tree9ef67003837fe0cfc402477201a21c1486f73275 /files/zh-cn/web/api/window
parent06b1b9f137e15e0d78de6b372971a3926403650c (diff)
downloadtranslated-content-9c7081d94a149ed22801e7b7df8ccd2cfbf81225.tar.gz
translated-content-9c7081d94a149ed22801e7b7df8ccd2cfbf81225.tar.bz2
translated-content-9c7081d94a149ed22801e7b7df8ccd2cfbf81225.zip
Update index.html (#2030)
make 'timeout' More clear
Diffstat (limited to 'files/zh-cn/web/api/window')
-rw-r--r--files/zh-cn/web/api/window/requestidlecallback/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/window/requestidlecallback/index.html b/files/zh-cn/web/api/window/requestidlecallback/index.html
index 0632e3a3ce..667133cf18 100644
--- a/files/zh-cn/web/api/window/requestidlecallback/index.html
+++ b/files/zh-cn/web/api/window/requestidlecallback/index.html
@@ -35,7 +35,7 @@ translation_of: Web/API/Window/requestIdleCallback
<dt><code>options</code> {{optional_inline}}</dt>
<dd>包括可选的配置参数。具有如下属性:
<ul>
- <li><code>timeout</code>:如果指定了timeout并具有一个正值,并且尚未通过超时毫秒数调用回调,那么回调会在下一次空闲时期被强制执行,尽管这样很可能会对性能造成负面影响。</li>
+ <li><code>timeout</code>: 如果指定了timeout,并且有一个正值,而回调在timeout毫秒过后还没有被调用,那么回调任务将放入事件循环中排队,即使这样做有可能对性能产生负面影响。</li>
</ul>
</dd>
</dl>