Skip to main content

Module dynamic_selector

Module dynamic_selector 

Source
Expand description

Dynamic CSS selectors for runtime evaluation based on OS, media queries, container queries, etc.

Structs§

CssPropertyWithConditions
A CSS property with optional conditions for when it should be applied. This replaces NodeDataInlineCssProperty with a more flexible system.
CssPropertyWithConditionsVec
DynamicSelectorContext
Context for evaluating dynamic selectors
DynamicSelectorVec
MinMaxRange
Min/Max Range for numeric conditions (C-compatible)
PseudoStateFlags
State flags for pseudo-classes (used in DynamicSelectorContext) Note: This is a CSS-only version. See azul_core::styled_dom::StyledNodeState for the main type.

Enums§

BoolCondition
Boolean condition (C-compatible)
CssPropertyWithConditionsVecDestructor
DynamicSelector
Dynamic selector that is evaluated at runtime C-compatible: Tagged union with single field
DynamicSelectorVecDestructor
LanguageCondition
Language/Locale condition for @lang() CSS selector Matches BCP 47 language tags with prefix matching
LinuxDesktopEnv
MediaType
OptionLinuxDesktopEnv
OrientationType
OsCondition
OsVersionCondition
PseudoStateType
ThemeCondition

Type Aliases§

CssPropertyWithConditionsVecDestructorType
DynamicSelectorVecDestructorType