| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1e4edd8 commit 61bb789
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -244,7 +244,7 @@ It supports the following option: | |||
| 244 | 244 | ||
| 245 | 245 | * `captureRejections` {boolean} It enables | |
| 246 | 246 | [automatic capturing of promise rejection][capturerejections]. | |
| 247 | - Default: `false`. | ||
| 247 | + **Default:** `false`. | ||
| 248 | 248 | ||
| 249 | 249 | ### Event: `'newListener'` | |
| 250 | 250 | <!-- YAML | |
@@ -1218,11 +1218,12 @@ added: REPLACEME | |||
| 1218 | 1218 | * `listener` {Function|EventListener} | |
| 1219 | 1219 | * `options` {Object} | |
| 1220 | 1220 | * `once` {boolean} When `true`, the listener will be automatically removed | |
| 1221 | - when it is first invoked. *Default*: `false` | ||
| 1221 | + when it is first invoked. **Default:** `false`. | ||
| 1222 | 1222 | * `passive` {boolean} When `true`, serves as a hint that the listener will | |
| 1223 | - not call the `Event` object's `preventDefault()` method. *Default*: `false` | ||
| 1223 | + not call the `Event` object's `preventDefault()` method. | ||
| 1224 | + **Default:** `false`. | ||
| 1224 | 1225 | * `capture` {boolean} Not directly used by Node.js. Added for API | |
| 1225 | - completeness. *Default*: `false` | ||
| 1226 | + completeness. **Default:** `false`. | ||
| 1226 | 1227 | ||
| 1227 | 1228 | Adds a new handler for the `type` event. Any given `listener` will be added | |
| 1228 | 1229 | only once per `type` and per `capture` option value. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments