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
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
|