stopImmediatePropagation() — svelte Function Reference
Architecture documentation for the stopImmediatePropagation() function in event-modifiers.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 8e27f1e1_9bca_ae6a_933e_b60efce97e52["stopImmediatePropagation()"] 10959c39_ee67_ccc9_0299_768227609d29["event-modifiers.js"] 8e27f1e1_9bca_ae6a_933e_b60efce97e52 -->|defined in| 10959c39_ee67_ccc9_0299_768227609d29 7a2c4b59_fc2a_bb0e_64d7_90ce67611a9c["apply()"] 8e27f1e1_9bca_ae6a_933e_b60efce97e52 -->|calls| 7a2c4b59_fc2a_bb0e_64d7_90ce67611a9c style 8e27f1e1_9bca_ae6a_933e_b60efce97e52 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/internal/client/dom/legacy/event-modifiers.js lines 77–84
export function stopImmediatePropagation(fn) {
return function (...args) {
var event = /** @type {Event} */ (args[0]);
event.stopImmediatePropagation();
// @ts-ignore
return fn?.apply(this, args);
};
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does stopImmediatePropagation() do?
stopImmediatePropagation() is a function in the svelte codebase, defined in packages/svelte/src/internal/client/dom/legacy/event-modifiers.js.
Where is stopImmediatePropagation() defined?
stopImmediatePropagation() is defined in packages/svelte/src/internal/client/dom/legacy/event-modifiers.js at line 77.
What does stopImmediatePropagation() call?
stopImmediatePropagation() calls 1 function(s): apply.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free