MCPcopy
hub / github.com/angular/components / dispatchEvent

Method dispatchEvent

src/cdk/testing/test-element.ts:179–179  ·  view source on GitHub ↗

* Dispatches an event with a particular name. * @param name Name of the event to be dispatched.

(name: string, data?: Record<string, EventData>)

Source from the content-addressed store, hash-verified

177 * @param name Name of the event to be dispatched.
178 */
179 dispatchEvent(name: string, data?: Record<string, EventData>): Promise<void>;
180}
181
182/**

Callers 15

_triggerFormSubmitMethod · 0.65
triggerHoverStateFunction · 0.65
openLensFunction · 0.65
keydownFunction · 0.65
clickFunction · 0.65
keydownFunction · 0.65
inputFunction · 0.65
clickFunction · 0.65
focusFunction · 0.65
blurFunction · 0.65
combobox.spec.tsFile · 0.65

Implementers 3

ProtractorElementsrc/cdk/testing/protractor/protractor-
SeleniumWebDriverElementsrc/cdk/testing/selenium-webdriver/sel
UnitTestElementsrc/cdk/testing/testbed/unit-test-elem

Calls

no outgoing calls

Tested by 15

triggerHoverStateFunction · 0.52
openLensFunction · 0.52
keydownFunction · 0.52
clickFunction · 0.52
keydownFunction · 0.52
inputFunction · 0.52
clickFunction · 0.52
focusFunction · 0.52
blurFunction · 0.52
focusFunction · 0.52
keydownFunction · 0.52
clickFunction · 0.52