pub fn window() -> Option<Window>
Getter for the Window object
Window
MDN Documentation
This API requires the following crate features to be activated: Window