Skip to content

Commit

Permalink
add showHelp to api #1611
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Jun 10, 2016
1 parent 7d6cc9f commit ca92d22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,9 @@ Reveal.nextFragment();
// Randomize the order of slides
Reveal.shuffle();

// Shows a help overlay with keyboard shortcuts
Reveal.showHelp();

// Toggle presentation states, optionally pass true/false to force on/off
Reveal.toggleOverview();
Reveal.togglePause();
Expand Down
3 changes: 3 additions & 0 deletions js/reveal.js
Original file line number Diff line number Diff line change
Expand Up @@ -4580,6 +4580,9 @@
navigatePrev: navigatePrev,
navigateNext: navigateNext,

// Shows a help overlay with keyboard shortcuts
showHelp: showHelp,

// Forces an update in slide layout
layout: layout,

Expand Down

0 comments on commit ca92d22

Please sign in to comment.