css_typed_om_1 library Null safety

CSS Typed OM Level 1

https://drafts.css-houdini.org/css-typed-om-1/

Classes

CSSColor
CSSColorValue
Csshsl
Csshwb
CSSImageValue
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS Typed Object Model API represents values for properties that take an image, for example background-image, list-style-image, or border-image-source. The CSSImageValue object represents an <image> that involves an URL, such as url() or image(), but not linear-gradient() or element().
CSSKeywordValue
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS Typed Object Model API creates an object to represent CSS keywords and other identifiers. The interface instance name is a stringifier meaning that when used anywhere a string is expected it will return the value of CSSKeyword.value.
CSSLab
Csslch
CSSMathClamp
CSSMathInvert
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents a CSS calc() used as calc(1 / <value>). It inherits properties and methods from its parent CSSNumericValue.
CSSMathMax
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents the CSS max() function. It inherits properties and methods from its parent CSSNumericValue.
CSSMathMin
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents the CSS min() function. It inherits properties and methods from its parent CSSNumericValue.
CSSMathNegate
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model negates the value passed into it. It inherits properties and methods from its parent CSSNumericValue.
CSSMathProduct
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents the result obtained by calling add(), sub(), or toSum() on CSSNumericValue. It inherits properties and methods from its parent CSSNumericValue.
CSSMathSum
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents the result obtained by calling add(), sub(), or toSum() on CSSNumericValue. A CSSMathSum is the object type returned when the StylePropertyMapReadOnly.get() method is used on a CSS property whose value is created with a calc() function.
CSSMathValue
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model a base class for classes representing complex numeric values.
CSSMatrixComponent
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents the matrix() and matrix3d() values of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
CSSMatrixComponentOptions
CSSNumericArray
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model contains a list of CSSNumericValue objects.
CSSNumericType
CSSNumericValue
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS Typed Object Model API represents operations that all numeric values can perform.
CSSOKLab
Cssoklch
CSSPerspective
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents the perspective() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
Cssrgb
CSSRotate
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents the rotate value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
CSSScale
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents the scale() and scale3d() values of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
CSSSkew
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model is part of the CSSTransformValue interface. It represents the skew() value of the individual transform property in CSS.
CSSSkewX
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents the skewX() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
CSSSkewY
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents the skewY() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
CSSStyleValue
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS Typed Object Model API is the base class of all CSS values accessible through the Typed OM API. An instance of this class may be used anywhere a string is expected.
CSSTransformComponent
The interface of the CSS_Object_Model#css_typed_object_model is part of the CSSTransformValue interface.
CSSTransformValue
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents transform-list values as used by the CSS transform property.
CSSTranslate
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents the translate() value of the individual transform property in CSS. It inherits properties and methods from its parent CSSTransformValue.
CSSUnitValue
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents values that contain a single unit type. For example, "42px" would be represented by a CSSNumericValue.
CSSUnparsedValue
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model represents property values that reference custom properties. It consists of a list of string fragments and variable references. Custom properties are represented by and var() references are represented using CSSVariableReferenceValue.
CSSVariableReferenceValue
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS_Object_Model#css_typed_object_model allows you to create a custom name for a built-in CSS value. This object functionality is sometimes called a "CSS variable" and serves the same purpose as the var() function. The custom name must begin with two dashes.
StylePropertyMap
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
StylePropertyMapReadOnly
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the CSS Typed Object Model API provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration. Retrieve an instance of this interface using Element.computedStyleMap().

Extensions

PropsCSSColor
PropsCSSColorValue
PropsCsshsl
PropsCsshwb
PropsCSSKeywordValue
PropsCSSLab
PropsCsslch
PropsCSSMathClamp
PropsCSSMathInvert
PropsCSSMathMax
PropsCSSMathMin
PropsCSSMathNegate
PropsCSSMathProduct
PropsCSSMathSum
PropsCSSMathValue
PropsCSSMatrixComponent
PropsCSSMatrixComponentOptions
PropsCSSNumericArray
PropsCSSNumericType
PropsCSSNumericValue
PropsCSSOKLab
PropsCssoklch
PropsCSSPerspective
PropsCssrgb
PropsCSSRotate
PropsCSSScale
PropsCSSSkew
PropsCSSSkewX
PropsCSSSkewY
PropsCSSStyleValue
PropsCSSTransformComponent
PropsCSSTransformValue
PropsCSSTranslate
PropsCSSUnitValue
PropsCSSUnparsedValue
PropsCSSVariableReferenceValue
PropsStylePropertyMap
PropsStylePropertyMapReadOnly

Enums

CSSMathOperator
CSSNumericBaseType