CSSTransformValue: CSSTransformValue() constructor
The CSSTransformValue()
constructor
creates a new CSSTransformValue
object which represents a list of
individual transform objects.
Syntax
js
new CSSTransformValue(transforms)
Parameters
transforms
-
A list of
CSSTransformComponent
objects to iterate over.
Return value
A new CSSTransformValue
.
Exceptions
TypeError
-
Raised if transforms is empty.
Examples
To do
Specifications
Specification |
---|
CSS Typed OM Level 1 # dom-csstransformvalue-csstransformvalue |
Browser compatibility
BCD tables only load in the browser