Function get_css_property

Source
pub fn get_css_property(component_str: &str) -> Option<&'static str>
Expand description

Gets the full CSS property name corresponding to the given component string.

The component string can be either the full CSS property name or its abbreviation.

§Arguments

  • component_str - The component string to look up.

§Returns

  • Option<&'static str> - The full CSS property name if found, or None if not found.