Cherry picking from branch fix-fragments-in-speakernotes
Change source from reveal.min.js to reveal.js for testing purposes. Add nextFragment and previousFragment to the API: Making it possible to call the methods Reveal.nextFragment() and Reveal.previousFragment() from »outside«. Update README.md: Add the new API Methods Reveal.prevFragment() and Reveal.nextFragment()edit
parent
aefe981040
commit
40c899ec56
|
@ -132,6 +132,8 @@ Reveal.up();
|
||||||
Reveal.down();
|
Reveal.down();
|
||||||
Reveal.prev();
|
Reveal.prev();
|
||||||
Reveal.next();
|
Reveal.next();
|
||||||
|
Reveal.prevFragment();
|
||||||
|
Reveal.nextFragment();
|
||||||
Reveal.toggleOverview();
|
Reveal.toggleOverview();
|
||||||
|
|
||||||
// Retrieves the previous and current slide elements
|
// Retrieves the previous and current slide elements
|
||||||
|
|
|
@ -336,7 +336,7 @@ function linkify( selector ) {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="lib/js/head.min.js"></script>
|
<script src="lib/js/head.min.js"></script>
|
||||||
<script src="js/reveal.min.js"></script>
|
<script src="js/reveal.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|
|
@ -1316,6 +1316,8 @@ var Reveal = (function(){
|
||||||
down: navigateDown,
|
down: navigateDown,
|
||||||
prev: navigatePrev,
|
prev: navigatePrev,
|
||||||
next: navigateNext,
|
next: navigateNext,
|
||||||
|
prevFragment: previousFragment,
|
||||||
|
nextFragment: nextFragment,
|
||||||
|
|
||||||
// Deprecated aliases
|
// Deprecated aliases
|
||||||
navigateTo: slide,
|
navigateTo: slide,
|
||||||
|
|
Loading…
Reference in New Issue