CSSTransformComponent: toString() 方法
CSSTransformComponent 介面的 toString() 方法是一個 字串化 方法,返回一個 CSS Transforms 函式。
語法
js
toString()
引數
無。
返回值
以 CSS transform function 形式表示的字串。
該方法將使用 is2D 的值來返回 2D 或 3D 轉換。例如,如果元件表示 CSSRotate 且 is2D 為 false,則返回的字串將採用 CSS 轉換 rotate3d() 函式的形式。如果為 true,則返回的字串將採用 2 維 rotate() 函式的形式。
示例
待辦
規範
| 規範 |
|---|
| CSS 型別化 OM Level 1 # CSSTransformComponent-字串化-行為 |
瀏覽器相容性
載入中…