Skip to main content

Module content

Module content 

Source
Expand description

Shared content context for components that support closure-based rendering.

When components accept custom content via closures (e.g. Button::content().show_content()), the closure receives a ContentContext with state-dependent styling information so that icons and text automatically match the component’s visual state.

Structs§

ContentContext
Context passed to custom content closures.