simplify how data-autoslide is picked up from fragments #766
This commit is contained in:
parent
ed4cdaf9e7
commit
a97d73167d
3 changed files with 9 additions and 9 deletions
|
@ -63,6 +63,10 @@ Reveal.addEventListener( 'ready', function() {
|
|||
Reveal.configure({ autoSlide: 10000 });
|
||||
strictEqual( Reveal.isAutoSliding(), true, 'true after starting' );
|
||||
|
||||
Reveal.toggleAutoSlide();
|
||||
strictEqual( Reveal.isAutoSliding(), false, 'false after toggling' );
|
||||
Reveal.toggleAutoSlide();
|
||||
|
||||
Reveal.configure({ autoSlide: 0 });
|
||||
strictEqual( Reveal.isAutoSliding(), false, 'false after setting to 0' );
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue