mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-06 14:47:04 +02:00
reader mode can be turned off without reload, add Reveal.toggleReader()
This commit is contained in:
@@ -360,16 +360,20 @@ export default class Keyboard {
|
||||
}
|
||||
// A
|
||||
else if( keyCode === 65 ) {
|
||||
if ( config.autoSlideStoppable ) {
|
||||
if( config.autoSlideStoppable ) {
|
||||
this.Reveal.toggleAutoSlide( autoSlideWasPaused );
|
||||
}
|
||||
}
|
||||
// G
|
||||
else if( keyCode === 71 ) {
|
||||
if ( config.jumpToSlide ) {
|
||||
if( config.jumpToSlide ) {
|
||||
this.Reveal.toggleJumpToSlide();
|
||||
}
|
||||
}
|
||||
// R
|
||||
else if( keyCode === 82 ) {
|
||||
this.Reveal.toggleReader();
|
||||
}
|
||||
else {
|
||||
triggered = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user