Skip to main content

Module when

Module when 

Source

Functions§

ancestor
Creates selector that observes if the given pseudo-class is active on an ancestor with the “defaultMarker”
any_sibling
Creates selector that observes if the given pseudo-class is active on any sibling with the “defaultMarker”
descendant
Creates selector that observes if the given pseudo-class is active on a descendant with the “defaultMarker”
from_proxy
from_stylex_style
get_default_marker_class_name 🔒
Gets the default marker class name based on options
is_valid_attribute_selector 🔒
Validates that an attribute selector has proper bracket and quote matching
sibling_after
Creates selector that observes if the given pseudo-class is active on a next sibling with the “defaultMarker”
sibling_before
Creates selector that observes if the given pseudo-class is active on a previous sibling with the “defaultMarker”
validate_pseudo_selector 🔒
Validates that a pseudo selector starts with ‘:’ but not ‘::’