1 | "use strict";
|
2 |
|
3 | exports.__esModule = true;
|
4 | exports["default"] = easeIn;
|
5 | var functionsMap = {
|
6 | back: 'cubic-bezier(0.600, -0.280, 0.735, 0.045)',
|
7 | circ: 'cubic-bezier(0.600, 0.040, 0.980, 0.335)',
|
8 | cubic: 'cubic-bezier(0.550, 0.055, 0.675, 0.190)',
|
9 | expo: 'cubic-bezier(0.950, 0.050, 0.795, 0.035)',
|
10 | quad: 'cubic-bezier(0.550, 0.085, 0.680, 0.530)',
|
11 | quart: 'cubic-bezier(0.895, 0.030, 0.685, 0.220)',
|
12 | quint: 'cubic-bezier(0.755, 0.050, 0.855, 0.060)',
|
13 | sine: 'cubic-bezier(0.470, 0.000, 0.745, 0.715)'
|
14 | };
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 | function easeIn(functionName) {
|
37 | return functionsMap[functionName.toLowerCase().trim()];
|
38 | }
|
39 | module.exports = exports.default; |
\ | No newline at end of file |