Skip to content

Commit

Permalink
add showHelp to api hakimel#1611
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel authored and hbrysiewicz committed Oct 7, 2016
1 parent 6fdacd4 commit f5fbe36
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 @@ -448,6 +448,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 f5fbe36

Please sign in to comment.