From: Michael Kühnel Date: Thu, 18 Oct 2012 21:19:01 +0000 (+0200) Subject: Add nextFragment and previousFragment to the API X-Git-Tag: 2.1.0~10^2~1^2~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5cfb7b3239781d3a67b0e44ac0b609cb53b0b65e;p=reveal.js.git Add nextFragment and previousFragment to the API Making it possible to call the methods Reveal.nextFragment() and Reveal.previousFragment() from »outside«. --- diff --git a/js/reveal.js b/js/reveal.js index c2769e5..653fbb2 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1293,6 +1293,8 @@ var Reveal = (function(){ down: navigateDown, prev: navigatePrev, next: navigateNext, + nextFragment: nextFragment, + previousFragment: previousFragment, // Deprecated aliases navigateTo: slide,