CSSTransformComponent: is2D property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

The is2D read-only property of the CSSTransformComponent interface indicates where the transform is 2D or 3D.

Value

A boolean. True indicating the transform is a 2D transform, false if it is a 3D transform.

Examples

To Do

Specifications

Specification
CSS Typed OM Level 1
# dom-csstransformcomponent-is2d

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
is2D