bind_window_size() — svelte Function Reference
Architecture documentation for the bind_window_size() function in window.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 82899144_646e_3571_241a_8c4654937f98["bind_window_size()"] 8246ee55_416b_58b3_f7ac_d471f90be1e9["window.js"] 82899144_646e_3571_241a_8c4654937f98 -->|defined in| 8246ee55_416b_58b3_f7ac_d471f90be1e9 da178604_a1e6_1104_9d60_daf043f014c9["listen()"] 82899144_646e_3571_241a_8c4654937f98 -->|calls| da178604_a1e6_1104_9d60_daf043f014c9 e95d0513_ce71_430f_7ef3_577e736f42c1["without_reactive_context()"] 82899144_646e_3571_241a_8c4654937f98 -->|calls| e95d0513_ce71_430f_7ef3_577e736f42c1 style 82899144_646e_3571_241a_8c4654937f98 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/internal/client/dom/elements/bindings/window.js lines 64–66
export function bind_window_size(type, set) {
listen(window, ['resize'], () => without_reactive_context(() => set(window[type])));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bind_window_size() do?
bind_window_size() is a function in the svelte codebase, defined in packages/svelte/src/internal/client/dom/elements/bindings/window.js.
Where is bind_window_size() defined?
bind_window_size() is defined in packages/svelte/src/internal/client/dom/elements/bindings/window.js at line 64.
What does bind_window_size() call?
bind_window_size() calls 2 function(s): listen, without_reactive_context.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free