PluginProbe
Block Animations, Motion & Scroll Effects – Ghost Kit / 3.3.2
Block Animations, Motion & Scroll Effects – Ghost Kit v3.3.2
3.7.2 3.7.1 3.7.0 3.6.1 trunk 1.6.3 2.25.0 3.3.0 3.3.1 3.3.2 3.3.3 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.5.0 3.5.1 3.6.0
ghostkit / gutenberg / components / transition-easing-controls / presets.js

presets.js in Block Animations, Motion & Scroll Effects – Ghost Kit 3.3.2, at gutenberg/components/transition-easing-controls/presets.js

47 lines 912 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { __ } from '@wordpress/i18n';
2
3 export default {
4 linear: {
5 label: __('Linear', 'ghostkit'),
6 easing: [0, 0, 1, 1],
7 delay: 0,
8 duration: 0.9,
9 },
10 'ease-in': {
11 label: __('Ease In', 'ghostkit'),
12 easing: [0.42, 0.0, 1.0, 1.0],
13 delay: 0,
14 duration: 0.9,
15 },
16 'ease-out': {
17 label: __('Ease Out', 'ghostkit'),
18 easing: [0.0, 0.0, 0.58, 1.0],
19 delay: 0,
20 duration: 0.9,
21 },
22 'ease-in-out': {
23 label: __('Ease In Out', 'ghostkit'),
24 easing: [0.42, 0.0, 0.58, 1.0],
25 delay: 0,
26 duration: 0.9,
27 },
28 'ease-in-back': {
29 label: __('Ease In Back', 'ghostkit'),
30 easing: [0.36, 0, 0.66, -0.56],
31 delay: 0,
32 duration: 0.9,
33 },
34 'ease-out-back': {
35 label: __('Ease Out Back', 'ghostkit'),
36 easing: [0.34, 1.56, 0.64, 1],
37 delay: 0,
38 duration: 0.9,
39 },
40 'ease-in-out-back': {
41 label: __('Ease In Out Back', 'ghostkit'),
42 easing: [0.68, -0.6, 0.32, 1.6],
43 delay: 0,
44 duration: 0.9,
45 },
46 };
47