MCPcopy Index your code
hub / github.com/nodejs/node / srcElement

Method srcElement

lib/internal/event_target.js:208–212  ·  view source on GitHub ↗

* @type {EventTarget}

()

Source from the content-addressed store, hash-verified

206 * @type {EventTarget}
207 */
208 get srcElement() {
209 if (!isEvent(this))
210 throw new ERR_INVALID_THIS('Event');
211 return this[kTarget];
212 }
213
214 /**
215 * @type {string}

Callers

nothing calls this directly

Calls 1

isEventFunction · 0.85

Tested by

no test coverage detected