Struct dioxus_use_window::UseBrowser
source · pub struct UseBrowser { /* private fields */ }
Expand description
Window height effect handler
Implementations§
source§impl UseBrowser
impl UseBrowser
sourcepub fn aspect_radio(&self) -> f64
pub fn aspect_radio(&self) -> f64
get aspect radio of current window
sourcepub fn resize_delta(&self, size: (i32, i32)) -> bool
pub fn resize_delta(&self, size: (i32, i32)) -> bool
get height of current window
source§impl UseBrowser
impl UseBrowser
sourcepub fn is_fullscreen(&self) -> bool
pub fn is_fullscreen(&self) -> bool
check if is full screen
sourcepub fn fullscreen_toggle(&self) -> bool
pub fn fullscreen_toggle(&self) -> bool
get width of current browser
sourcepub fn fullscreen_on(&self) -> bool
pub fn fullscreen_on(&self) -> bool
set full screen on
sourcepub fn fullscreen_off(&self) -> bool
pub fn fullscreen_off(&self) -> bool
set full screen off