pub fn active(window: &Window) -> boolExpand description
Whether window is fullscreen at this moment.
The button reads this every frame and labels itself for the action it would take. That matters most on a phone, where leaving fullscreen is otherwise only possible through the browser’s own chrome, which a page cannot reach.