You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
551 B
JavaScript
24 lines
551 B
JavaScript
6 years ago
|
import EventEmitter from '../events/EventEmitter.jsx';;
|
||
|
|
||
|
class Animate extends EventEmitter {
|
||
|
//--------------------------
|
||
|
// constructor
|
||
|
//--------------------------
|
||
|
constructor() {
|
||
|
super();
|
||
|
}
|
||
|
//--------------------------
|
||
|
// methods
|
||
|
//--------------------------
|
||
|
object(properties) {
|
||
|
var animation = anime(
|
||
|
properties
|
||
|
);
|
||
|
//animation.start(properties);
|
||
|
}
|
||
|
//--------------------------
|
||
|
// event handlers
|
||
|
//--------------------------
|
||
|
}
|
||
|
export default Animate
|