Skip to main content

use_viewport_width

Function use_viewport_width 

Source
pub fn use_viewport_width() -> Signal<f64>
Expand description

The document’s client width in CSS pixels (the viewport without its scrollbar), updated on every window resize for as long as the calling component is mounted.