-
-
Notifications
You must be signed in to change notification settings - Fork 9
JavaScript API
Ondřej Žára edited this page Jun 4, 2013
·
4 revisions
-
Slides.modules- available modules and their configuration -
Slides.slides- all slides (instances of aSlide) -
Slides.current- currently displayed slide -
Slides.next(skipSections)- navigate to a next slide or section -
Slides.prev(skipSections)- navigate to a previous slide or section -
Slides.show(slide, expandSections)- navigate to an explicitely specified slide -
Slides.addScript(path)- add a new script to the page -
Slides.addStylesheet(path)- add a new CSS stylesheet to the page -
Slides.addKeyListener(listener, keys, label)- register a keyboard handler.Listeneris a function,keysis a keyCode or a character or an array of these,labelis a textual label for the Help window -
Slides.addChangeListener(listener)- register a handler for slide change -
Slides.format(template)- format a template (see Title/Progress modules)