pub fn window_size() -> impl Signal<Item = WindowSize>
Expand description

Signal which gives the current width / height of the window.

When the window is resized, it will automatically update with the new size.