MCPcopy Index your code
hub / github.com/angular/angular / findEventDispatchScript

Function findEventDispatchScript

packages/platform-server/src/utils.ts:80–82  ·  view source on GitHub ↗

* Finds and returns inlined event dispatch script if it exists. * See the `EVENT_DISPATCH_SCRIPT_ID` const docs for additional info.

(doc: Document)

Source from the content-addressed store, hash-verified

78 * See the `EVENT_DISPATCH_SCRIPT_ID` const docs for additional info.
79 */
80function findEventDispatchScript(doc: Document) {
81 return doc.getElementById(EVENT_DISPATCH_SCRIPT_ID);
82}
83
84/**
85 * Removes inlined event dispatch script if it exists.

Callers 2

insertEventRecordScriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…