is_capture_event() — svelte Function Reference
Architecture documentation for the is_capture_event() function in utils.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 414b9ea2_b052_6759_fdfb_f4cabf75669c["is_capture_event()"] 2aa63f4e_82c9_33e3_ac6c_5f3d46250522["utils.js"] 414b9ea2_b052_6759_fdfb_f4cabf75669c -->|defined in| 2aa63f4e_82c9_33e3_ac6c_5f3d46250522 e35222ea_3daa_de5e_3d5f_66469f2fb218["visit_event_attribute()"] e35222ea_3daa_de5e_3d5f_66469f2fb218 -->|calls| 414b9ea2_b052_6759_fdfb_f4cabf75669c 4c70ef10_16f1_40f4_1d51_8a7169bd1dba["set_attributes()"] 4c70ef10_16f1_40f4_1d51_8a7169bd1dba -->|calls| 414b9ea2_b052_6759_fdfb_f4cabf75669c style 414b9ea2_b052_6759_fdfb_f4cabf75669c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/utils.js lines 105–107
export function is_capture_event(name) {
return name.endsWith('capture') && name !== 'gotpointercapture' && name !== 'lostpointercapture';
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does is_capture_event() do?
is_capture_event() is a function in the svelte codebase, defined in packages/svelte/src/utils.js.
Where is is_capture_event() defined?
is_capture_event() is defined in packages/svelte/src/utils.js at line 105.
What calls is_capture_event()?
is_capture_event() is called by 2 function(s): set_attributes, visit_event_attribute.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free