Skip to main content

current_window_size

Function current_window_size 

Source
pub fn current_window_size() -> WindowSize
Expand description

The window’s size, recorded as read: the composable runs again when the Renderer reports a different size class.

In a multi-window application it is the size of the window the composable is in, and the composable runs again only when that window’s class changes.