Fix a typo
This commit is contained in:
parent
dc904d122e
commit
55d1a1e8e8
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ To generate an event, we first need to create an event object.
|
|||
|
||||
The generic `Event(name, options)` constructor accepts an arbitrary event name and the `options` object with two properties:
|
||||
- `bubbles: true` if the event should bubble.
|
||||
- `cancelable: true` is the `event.preventDefault()` should work.
|
||||
- `cancelable: true` if the `event.preventDefault()` should work.
|
||||
|
||||
Other constructors of native events like `MouseEvent`, `KeyboardEvent` and so on accept properties specific to that event type. For instance, `clientX` for mouse events.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue