Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7a9116b

Browse files
committed
docs(event): fix model type
1 parent a9dadd2 commit 7a9116b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/events/model.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ btn.addEventListener(
139139

140140
上面代码中,`<div>`节点之中有一个`<p>`节点。
141141

142-
如果对这两个节点,都设置`click`事件的监听函数(每个节点的捕获阶段和监听阶段,各设置一个监听函数),共计设置四个监听函数。然后,对`<p>`点击,`click`事件会触发四次。
142+
如果对这两个节点,都设置`click`事件的监听函数(每个节点的捕获阶段和冒泡阶段,各设置一个监听函数),共计设置四个监听函数。然后,对`<p>`点击,`click`事件会触发四次。
143143

144144
```javascript
145145
var phases = {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /