Function leptos_dom::window
source · pub fn window() -> Window
Expand description
Returns the Window
.
This is cached as a thread-local variable, so calling window()
multiple times
requires only one call out to JavaScript.
pub fn window() -> Window
Returns the Window
.
This is cached as a thread-local variable, so calling window()
multiple times
requires only one call out to JavaScript.