1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var formatting_1 = require("./utils/formatting");
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | function transform() {
|
10 | var transforms = [];
|
11 | for (var _i = 0; _i < arguments.length; _i++) {
|
12 | transforms[_i] = arguments[_i];
|
13 | }
|
14 | return transforms.length ? transforms.join(' ') : 'none';
|
15 | }
|
16 | exports.transform = transform;
|
17 | exports.matrix = formatting_1.createFunction('matrix');
|
18 | exports.matrix3d = formatting_1.createFunction('matrix3d');
|
19 | exports.perspective = formatting_1.createFunction('perspective');
|
20 | exports.rotate = formatting_1.createFunction('rotate');
|
21 | exports.rotate3d = formatting_1.createFunction('rotate3d');
|
22 | exports.rotateX = formatting_1.createFunction('rotateX');
|
23 | exports.rotateY = formatting_1.createFunction('rotateY');
|
24 | exports.rotateZ = formatting_1.createFunction('rotateZ');
|
25 | exports.scale = formatting_1.createFunction('scale');
|
26 | exports.scale3d = formatting_1.createFunction('scale3d');
|
27 | exports.scaleX = formatting_1.createFunction('scaleX');
|
28 | exports.scaleY = formatting_1.createFunction('scaleY');
|
29 | exports.scaleZ = formatting_1.createFunction('scaleZ');
|
30 | exports.skew = formatting_1.createFunction('skew');
|
31 | exports.skewX = formatting_1.createFunction('skewX');
|
32 | exports.skewY = formatting_1.createFunction('skewY');
|
33 | exports.translate = formatting_1.createFunction('translate');
|
34 | exports.translate3d = formatting_1.createFunction('translate3d');
|
35 | exports.translateX = formatting_1.createFunction('translateX');
|
36 | exports.translateY = formatting_1.createFunction('translateY');
|
37 | exports.translateZ = formatting_1.createFunction('translateZ');
|