MCPcopy Create free account
hub / github.com/angular-rust/yew-components / window

Function window

src/drawer.rs:225–227  ·  view source on GitHub ↗

move to utils

()

Source from the content-addressed store, hash-verified

223
224// move to utils
225fn window() -> web_sys::Window {
226 web_sys::window().expect("no global `window` exists")
227}
228
229fn request_animation_frame(f: &Closure<dyn FnMut()>) {
230 window()

Callers 3

request_animation_frameFunction · 0.85
documentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected