forked from projects/fipamo
24 lines
546 B
JavaScript
24 lines
546 B
JavaScript
import EventEmitter from '../events/EventEmitter';
|
|
|
|
class Animate extends EventEmitter {
|
|
//--------------------------
|
|
// constructor
|
|
//--------------------------
|
|
constructor() {
|
|
super();
|
|
}
|
|
//--------------------------
|
|
// methods
|
|
//--------------------------
|
|
object(properties) {
|
|
var animation = anime(
|
|
properties
|
|
);
|
|
//animation.start(properties);
|
|
}
|
|
//--------------------------
|
|
// event handlers
|
|
//--------------------------
|
|
}
|
|
export default Animate
|