MCPcopy Index your code
hub / github.com/angular/components / createFakeEvent

Function createFakeEvent

src/cdk/testing/testbed/fake-events/event-objects.ts:157–159  ·  view source on GitHub ↗
(type: string, bubbles = false, cancelable = true, composed = true)

Source from the content-addressed store, hash-verified

155 * @docs-private
156 */
157export function createFakeEvent(type: string, bubbles = false, cancelable = true, composed = true) {
158 return new Event(type, {bubbles, cancelable, composed});
159}
160
161/**
162 * Defines a readonly property on the given event object. Readonly properties on an event object

Callers 5

dispatchEventMethod · 0.90
dispatchFakeEventFunction · 0.90
tooltip.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…