Menu

Struct

FullscreenChange

kurogane::FullscreenChangeSource
pub struct FullscreenChange { /* private fields */ }

A page entering or leaving fullscreen, passed to App::on_fullscreen_change.

Methods

#pub fn is_fullscreen(&self) -> bool

Whether the page is fullscreen now. It asked with requestFullscreen() or left with exitFullscreen() or Escape.

#pub fn browser(&self) -> Option<BrowserId>

The browser of the page.

#pub fn window(&self) -> Option<WindowId>

The window the page is in; none for a browser embedded in the application’s own window.

Trait implementations