CSSTransformComponent.toString()
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。
toString()
は CSSTransformComponent
インターフェイスのメソッドで、文字列化子であり、 CSS 座標変換関数を返します。
構文
js
toString()
引数
なし。
返値
CSS の座標変換関数
の形の文字列です。
これは is2D
の値を使用して、 2D または 3D 座標変換のどちらかを返します。例えば、コンポーネントが CSSRotate
を表し、 is2D
が false の場合、返す文字列は CSS 座標変換の rotate3D()
関数の形式を取ります。true の場合、返される文字列は 2 次元の rotate3D()
関数の形になります。
例
To Do
仕様書
Specification |
---|
CSS Typed OM Level 1 # CSSTransformComponent-stringification-behavior |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
toString |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.