add support for automatically scrolling code highlights into view
This commit is contained in:
1 parent
5a5a5c9a6c
commit
bff9bfb101
7 files changed
+254
-50
No files matched your search
@@ -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
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user