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

Function stopPropagation

packages/core/primitives/event-dispatch/src/event.ts:103–105  ·  view source on GitHub ↗
(e: Event)

Source from the content-addressed store, hash-verified

101 * @param e The event to cancel propagation for.
102 */
103export function stopPropagation(e: Event) {
104 e.stopPropagation ? e.stopPropagation() : (e.cancelBubble = true);
105}
106
107/**
108 * Prevents the default action of an event.

Callers

nothing calls this directly

Calls 1

stopPropagationMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…