diff options
Diffstat (limited to 'js/controllers/autoanimate.js')
-rw-r--r-- | js/controllers/autoanimate.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/js/controllers/autoanimate.js b/js/controllers/autoanimate.js index 9204524..4b006d4 100644 --- a/js/controllers/autoanimate.js +++ b/js/controllers/autoanimate.js @@ -67,7 +67,14 @@ export default class AutoAnimate { } } ); - this.Reveal.dispatchEvent( 'autoanimate', { fromSlide: fromSlide, toSlide: toSlide, sheet: this.autoAnimateStyleSheet } ); + this.Reveal.dispatchEvent({ + type: 'autoanimate', + data: { + fromSlide, + toSlide, + sheet: this.autoAnimateStyleSheet + } + }); } |