Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. CSSTransformComponent

CSSTransformComponent

Limited availability

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

TheCSSTransformComponent interface of theCSS Typed Object Model API is part of theCSSTransformValue interface.

Instance properties

CSSTransformComponent.is2DRead only

Returns a boolean indicting whether the transform is 2D or 3D.

Instance methods

CSSTransformComponent.toMatrix()

Returns a newDOMMatrix object.

CSSTransformComponent.toString()

A string in the form of a CSStransform function.

This will use the value ofis2D to return either a 2D or 3D transform. For example if the component representsCSSRotate andis2D is false then the string returned will be in the form of the CSS transformationrotate3d() function. If true the string returned will be in the form of the 2-dimensionalrotate() function.

Examples

To do

Specifications

Specification
CSS Typed OM Level 1
# csstransformcomponent

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp