mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
reader mode can be turned off without reload, add Reveal.toggleReader()
This commit is contained in:
parent
4da6f6b30f
commit
5de7da7692
9 changed files with 61 additions and 27 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue