Skip to main content

Module use_media

Module use_media 

Source
Expand description

Whether the page matches a media query, kept current as the window changes.

Functionsยง

use_media
Whether the window matches any of queries (named in crate::ui::responsive::media), updated whenever that changes for as long as the calling component is mounted. False where there is no window (the server render), which draws the desktop.