add showHelp to api #1611

This commit is contained in:
Hakim El Hattab 2016-06-10 10:04:54 +02:00
parent 7d6cc9f3ec
commit ca92d22adc
2 changed files with 6 additions and 0 deletions

View File

@ -434,6 +434,9 @@ Reveal.nextFragment();
// Randomize the order of slides // Randomize the order of slides
Reveal.shuffle(); Reveal.shuffle();
// Shows a help overlay with keyboard shortcuts
Reveal.showHelp();
// Toggle presentation states, optionally pass true/false to force on/off // Toggle presentation states, optionally pass true/false to force on/off
Reveal.toggleOverview(); Reveal.toggleOverview();
Reveal.togglePause(); Reveal.togglePause();

View File

@ -4580,6 +4580,9 @@
navigatePrev: navigatePrev, navigatePrev: navigatePrev,
navigateNext: navigateNext, navigateNext: navigateNext,
// Shows a help overlay with keyboard shortcuts
showHelp: showHelp,
// Forces an update in slide layout // Forces an update in slide layout
layout: layout, layout: layout,