CSSTransformValue

The CSSTransformValue interface of the CSS Typed Object Model API represents transform-list values as used by the CSS transform property.

MDN Reference

Constructors

Link copied to clipboard
constructor(transforms: ReadonlyArray<CSSTransformComponent>)

Properties

Link copied to clipboard

The read-only is2D property of the CSSTransformValue interface returns whether the transform is 2D or 3D.

Link copied to clipboard
open override val length: Int

The read-only length property of the CSSTransformValue interface returns the number of transform components in the list.

Functions

Link copied to clipboard
Link copied to clipboard
open override fun forEach(action: (item: CSSTransformComponent) -> Unit)
Link copied to clipboard
open operator fun get(index: Int): CSSTransformComponent
open operator fun get(key: Symbol.iterator): () -> JsIterator<CSSTransformComponent>
Link copied to clipboard
open override fun keys(): JsIterator<JsInt>
Link copied to clipboard

The toMatrix() method of the CSSTransformValue interface returns a DOMMatrix object.

Link copied to clipboard