Last active
April 9, 2020 13:11
-
-
Save Drarig29/089c2ecbe140caa67b4a63aafbfca692 to your computer and use it in GitHub Desktop.
reveal.js: goto() slide method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reveal.goto = slideNumber => { | |
let indices = Reveal.getIndices(Reveal.getSlides()[slideNumber - 1]); | |
Reveal.slide(indices.h, indices.v); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment