Skip to content

Commit

Permalink
events: change status of event.srcElement to legacy
Browse files Browse the repository at this point in the history
`event.srcElement` is described as legacy in spec.

Refs: https://dom.spec.whatwg.org/#interface-event
  • Loading branch information
deokjinkim committed Jan 7, 2023
1 parent 9b1ed04 commit b933185
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/events.md
Expand Up @@ -1852,6 +1852,8 @@ This is not used in Node.js and is provided purely for completeness.
added: v14.5.0
-->

> Stability: 3 - Legacy: Use \[`event.target`]\[] instead.
* Type: {EventTarget} The `EventTarget` dispatching the event.

Alias for `event.target`.
Expand Down

0 comments on commit b933185

Please sign in to comment.