aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/autoanimate.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controllers/autoanimate.js')
-rw-r--r--js/controllers/autoanimate.js9
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
+ }
+ });
}