CSSTransformValue: CSSTransformValue() constructor

Note: This feature is available in Web Workers.

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