Expand description
Custom Dioxus hooks for the Logicaffeine UI.
This module provides reusable hooks for common UI patterns.
Re-exports§
pub use use_device_pixel_grid::use_device_pixel_grid;pub use use_device_pixel_grid::PixelGrid;pub use use_inactivity_timer::use_inactivity_timer;pub use use_inactivity_timer::InactivityState;pub use use_media::use_media;pub use use_viewport_width::use_viewport_width;pub use use_visual_viewport::use_keyboard_inset;
Modules§
- use_
device_ pixel_ grid - Where the screen’s pixels fall under an element: how large one device pixel is, and how far the element’s box starts past the device-pixel grid, kept current as the page zooms, moves to a screen of another density, or lays the element out anew.
- use_
inactivity_ timer - Inactivity timer hook for detecting when users need help.
- use_
media - Whether the page matches a media query, kept current as the window changes.
- use_
viewport_ width - The page’s width, kept current as the window resizes.
- use_
visual_ viewport - How much of the window an on-screen keyboard covers.