set multiple onReady, onPlay, onFinish

This commit is contained in:
Adam Bradley
2015-06-15 20:16:26 -05:00
parent 5c72ff44c1
commit 30ded13185
3 changed files with 119 additions and 110 deletions

View File

@@ -49,13 +49,17 @@ class IonicApp {
this.animation.add(row1, row2);
this.animation.onReady = () => {
console.log('onReady');
}
this.animation.onReady(animation => {
console.log('onReady', animation);
});
this.animation.onFinish = () => {
console.log('onFinish');
}
this.animation.onPlay(animation => {
console.log('onPlay', animation);
});
this.animation.onFinish(animation => {
console.log('onFinish', animation);
});
}