CSSTransformComponent

Draft
This page is not complete.

The CSSTransformComponent interface of the of the CSS Typed Object Model API is part of the CSSTransformValue interface.

Properties

CSSTransformComponent.is2D
Returns a boolean as to whether the transform is 2D or 3D. Read only

Methods

CSSTransformComponent.toMatrix()
Returns a new matrix object which is a new DOMMatrix
CSSTransformComponent.toString()
Returns a string in the form of a CSS Transforms matrix() function

Examples

To do

Specifications

Specification Status Comment
CSS Typed OM Level 1
The definition of 'CSSTransformComponent' in that specification.
Working Draft Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
CSSTransformComponent
Experimental
Chrome Full support 66Edge Full support 79Firefox No support NoIE No support NoOpera Full support 53Safari No support NoWebView Android Full support 66Chrome Android Full support 66Firefox Android No support NoOpera Android Full support 47Safari iOS No support NoSamsung Internet Android Full support 9.0
is2D
Experimental
Chrome Full support 66Edge Full support 79Firefox No support NoIE No support NoOpera Full support 53Safari No support NoWebView Android Full support 66Chrome Android Full support 66Firefox Android No support NoOpera Android Full support 47Safari iOS No support NoSamsung Internet Android Full support 9.0
toMatrix
Experimental
Chrome Full support 66Edge Full support 79Firefox No support NoIE No support NoOpera Full support 53Safari No support NoWebView Android Full support 66Chrome Android Full support 66Firefox Android No support NoOpera Android Full support 47Safari iOS No support NoSamsung Internet Android Full support 9.0

Legend

Full support  
Full support
No support  
No support
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.