CSSTransformComponent

Limited availability

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

Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。

CSSTransformComponentCSS 型付きオブジェクトモデルのインターフェイスで、 CSSTransformValue インターフェイスの一角です。

インスタンスプロパティ

CSSTransformComponent.is2D 読取専用 Experimental

この座標変換が 2D か 3D かを示す論理値を返します。

インスタンスメソッド

CSSTransformComponent.toMatrix() Experimental

新しい DOMMatrix オブジェクトを返します。

CSSTransformComponent.toString() Experimental

CSS の座標変換関数の形の文字列です。

これは is2D の値を使用して、 2D または 3D 座標変換のどちらかを返します。例えば、コンポーネントが CSSRotate を表し、 is2D が false の場合、返す文字列は CSS 座標変換の rotate3D() 関数の形式を取ります。true の場合、返される文字列は 2 次元の rotate3D() 関数の形になります。

To do

仕様書

Specification
CSS Typed OM Level 1
# csstransformcomponent

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
CSSTransformComponent
is2D
toMatrix
toString

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.