Skip to content

Commit 39394b9

Browse files
authored
Changed "phrase" to "phase" for capture param
1 parent d974090 commit 39394b9

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/2-events/01-introduction-browser-events

1 file changed

+1
-1
lines changed

2-ui/2-events/01-introduction-browser-events/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ element.addEventListener(event, handler[, options]);
228228
`options`
229229
: An additional optional object with properties:
230230
- `once`: if `true`, then the listener is automatically removed after it triggers.
231-
- `capture`: the phrase where to handle the event, to be covered later in the chapter <info:bubbling-and-capturing>. For historical reasons, `options` can also be `false/true`, that's the same as `{capture: false/true}`.
231+
- `capture`: the phase where to handle the event, to be covered later in the chapter <info:bubbling-and-capturing>. For historical reasons, `options` can also be `false/true`, that's the same as `{capture: false/true}`.
232232
- `passive`: if `true`, then the handler will not `preventDefault()`, we'll cover that later in <info:default-browser-action>.
233233

234234

0 commit comments

Comments
 (0)