1 2 3 4 5 6 7
pub fn window() -> web_sys::Window { web_sys::window().unwrap() } pub fn document() -> web_sys::Document { window().document().unwrap() }
1 2 3 4 5 6 7
pub fn window() -> web_sys::Window { web_sys::window().unwrap() } pub fn document() -> web_sys::Document { window().document().unwrap() }