css-typed-om-polyfill 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css-typed-om-polyfill.js +1 -1
- package/package.json +1 -1
package/css-typed-om-polyfill.js
CHANGED
|
@@ -961,7 +961,7 @@
|
|
|
961
961
|
toString() { return this.is2D ? `translate(${this.x}, ${this.y})` : `translate3d(${this.x}, ${this.y}, ${this.z})` }
|
|
962
962
|
}
|
|
963
963
|
class CSSRotate extends CSSTransformComponent {
|
|
964
|
-
constructor(
|
|
964
|
+
constructor(angleOrX, y = null, z = null, angle = null) {
|
|
965
965
|
super()
|
|
966
966
|
this.is2D = (y === null && z === null && angle === null)
|
|
967
967
|
|