Module component

Source
Expand description

This module provides mappings between CSS properties and their abbreviations (short syntax).

It allows for retrieving the full CSS property name given either the full name or its abbreviation, as well as retrieving the abbreviation given the full name.

The module also provides a list of all components (full names and abbreviations).

Functionsยง

get_all_components
Gets a list of all components (both full CSS property names and their abbreviations).
get_all_components_map
get_css_property
Gets the full CSS property name corresponding to the given component string.
get_shorten_component
Gets the abbreviation for a given full CSS property name.