1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| /* eslint-disable */
|
| function animate(options) {
| var result = [];
|
| if (options.duration) {
| result.push('transition-duration: ' + options.duration + 's');
| result.push('transform: translate3d( ' + -100 * options.currentIndex + '%,0, 0)');
| }
|
| return result.join(';');
| }
|
| module.exports = {
| animate: animate,
| };
|
|