Expand description
dioxus_style/src/lib.rs Scoped CSS styling for Dioxus
Re-exports§
pub use runtime_injector::STYLE_REGISTRY;
Macros§
- component_
with_ css - Function-like macro version of with_css
- css
- lazy_
static - scoped_
style
Structs§
- STYLE_
REGISTRY - Global registry for all scoped styles.
- Scoped
Style - Helper struct for managing a single scoped style instance.
- Style
Registry - Registry that tracks all scoped styles in the application.
Functions§
- inject_
styles - Injects all registered styles into a
<style>tag.
Attribute Macros§
- with_
css - Attribute macro with AUTOMATIC style injection!