bindings/css_typed_om_1 library
CSS Typed OM Level 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
, orborder-image-source
. The CSSImageValue object represents an<image>
that involves an URL, such asurl()
orimage()
, but notlinear-gradient()
orelement()
. - 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 ascalc(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()
, ortoSum()
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()
, ortoSum()
on CSSNumericValue. A CSSMathSum is the object type returned when theStylePropertyMapReadOnly.get()
method is used on a CSS property whose value is created with acalc()
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 individualtransform
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 individualtransform
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 individualtransform
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 CSStransform
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 on CSSColor
- PropsCsshsl on Csshsl
- PropsCsshwb on Csshwb
- PropsCSSKeywordValue on CSSKeywordValue
- PropsCSSLab on CSSLab
- PropsCsslch on Csslch
- PropsCSSMathClamp on CSSMathClamp
- PropsCSSMathInvert on CSSMathInvert
- PropsCSSMathMax on CSSMathMax
- PropsCSSMathMin on CSSMathMin
- PropsCSSMathNegate on CSSMathNegate
- PropsCSSMathProduct on CSSMathProduct
- PropsCSSMathSum on CSSMathSum
- PropsCSSMathValue on CSSMathValue
- PropsCSSMatrixComponent on CSSMatrixComponent
- PropsCSSMatrixComponentOptions on CSSMatrixComponentOptions
- PropsCSSNumericArray on CSSNumericArray
- PropsCSSNumericType on CSSNumericType
- PropsCSSNumericValue on CSSNumericValue
- PropsCSSOKLab on CSSOKLab
- PropsCssoklch on Cssoklch
- PropsCSSPerspective on CSSPerspective
- PropsCssrgb on Cssrgb
- PropsCSSRotate on CSSRotate
- PropsCSSScale on CSSScale
- PropsCSSSkew on CSSSkew
- PropsCSSSkewX on CSSSkewX
- PropsCSSSkewY on CSSSkewY
- PropsCSSStyleValue on CSSStyleValue
- PropsCSSTransformComponent on CSSTransformComponent
- PropsCSSTransformValue on CSSTransformValue
- PropsCSSTranslate on CSSTranslate
- PropsCSSUnitValue on CSSUnitValue
- PropsCSSUnparsedValue on CSSUnparsedValue
- PropsCSSVariableReferenceValue on CSSVariableReferenceValue
- PropsStylePropertyMap on StylePropertyMap
- PropsStylePropertyMapReadOnly on StylePropertyMapReadOnly