diff options
author | Florian Dieminger <me@fiji-flo.de> | 2021-02-25 14:37:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 14:37:47 +0100 |
commit | 8879aacd682787fc20ffe2661733f9cd267c81ce (patch) | |
tree | 11bf4a1114c543989c24c7a801ba379b2c20a30c /files/zh-cn/web/api/mutationobserver | |
parent | d1794f6b276285489b417053507f432a14be31df (diff) | |
parent | 97065b2e68dd8768dc1ea092c893c57ebe205026 (diff) | |
download | translated-content-8879aacd682787fc20ffe2661733f9cd267c81ce.tar.gz translated-content-8879aacd682787fc20ffe2661733f9cd267c81ce.tar.bz2 translated-content-8879aacd682787fc20ffe2661733f9cd267c81ce.zip |
Merge pull request #70 from peterbe/use-classhidden-not-styledisplaynone
use class="hidden" not style="display:none"
Diffstat (limited to 'files/zh-cn/web/api/mutationobserver')
-rw-r--r-- | files/zh-cn/web/api/mutationobserver/mutationobserver/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/api/mutationobserver/mutationobserver/index.html b/files/zh-cn/web/api/mutationobserver/mutationobserver/index.html index efa1d1a8f0..b911350da3 100644 --- a/files/zh-cn/web/api/mutationobserver/mutationobserver/index.html +++ b/files/zh-cn/web/api/mutationobserver/mutationobserver/index.html @@ -21,8 +21,8 @@ translation_of: Web/API/MutationObserver/MutationObserver <h3 id="参数">参数</h3> <dl> - <dt><code><span style="display: none;"> </span><span style="display: none;"> </span>callback</code></dt> - <dd>一个回调函数,每当被指定的节点或子树以及配置项有Dom变动时会被调用。回调函数拥有两个参数:一个是描述所有被触发改动的 {{domxref("MutationRecord")}} 对象数组,另一个是调用该函数的<code>MutationObserver</code> 对象。参见下方的{{anch("Example", "示例")}}了解更多细节<span style="display: none;"> </span><span style="display: none;"> </span></dd> + <dt><code><span class="hidden"> </span><span class="hidden"> </span>callback</code></dt> + <dd>一个回调函数,每当被指定的节点或子树以及配置项有Dom变动时会被调用。回调函数拥有两个参数:一个是描述所有被触发改动的 {{domxref("MutationRecord")}} 对象数组,另一个是调用该函数的<code>MutationObserver</code> 对象。参见下方的{{anch("Example", "示例")}}了解更多细节<span class="hidden"> </span><span class="hidden"> </span></dd> </dl> <h3 id="返回值">返回值</h3> |