-
-
Notifications
You must be signed in to change notification settings - Fork 104
/
animator.js
51 lines (36 loc) · 1.49 KB
/
animator.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
define(["exports"], function (exports) {
"use strict";
exports.__esModule = true;
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Animator = (function () {
function Animator() {
_classCallCheck(this, Animator);
}
Animator.configureDefault = function configureDefault(container, animatorInstance) {
container.registerInstance(Animator, Animator.instance = animatorInstance || new Animator());
};
Animator.prototype.move = function move() {
return Promise.resolve(false);
};
Animator.prototype.enter = function enter(element) {
return Promise.resolve(false);
};
Animator.prototype.leave = function leave(element) {
return Promise.resolve(false);
};
Animator.prototype.removeClass = function removeClass(element, className) {
return Promise.resolve(false);
};
Animator.prototype.addClass = function addClass(element, className) {
return Promise.resolve(false);
};
Animator.prototype.animate = function animate(element, className, options) {
return Promise.resolve(false);
};
Animator.prototype.runSequence = function runSequence(sequence) {};
Animator.prototype.registerEffect = function registerEffect(effectName, properties) {};
Animator.prototype.unregisterEffect = function unregisterEffect(effectName) {};
return Animator;
})();
exports.Animator = Animator;
});