1
0
Fork 0

Add nextFragment and previousFragment to the API

Making it possible to call the methods Reveal.nextFragment() and Reveal.previousFragment() from »outside«.
This commit is contained in:
Michael Kühnel 2012-10-18 23:19:01 +02:00
parent e447187c20
commit 5cfb7b3239

View file

@ -1293,6 +1293,8 @@ var Reveal = (function(){
down: navigateDown, down: navigateDown,
prev: navigatePrev, prev: navigatePrev,
next: navigateNext, next: navigateNext,
nextFragment: nextFragment,
previousFragment: previousFragment,
// Deprecated aliases // Deprecated aliases
navigateTo: slide, navigateTo: slide,