Add impress.js documentation

Closes gh-563.
This commit is contained in:
Fagner Brack
2016-06-25 23:08:09 +10:00
parent 28bfa35e6a
commit 9945b51e85
3 changed files with 327 additions and 1 deletions

View File

@@ -375,7 +375,7 @@ if ("ontouchstart" in document.documentElement) {
`api.init()` - initializes the presentation,
`api.next()` - moves to next step of the presentation,
`api.prev()` - moves to previous step of the presentation,
`api.goto( idx | id | element, [duration] )` - moves the presentation to the step given by its index number
`api.goto( stepIndex | stepElementId | stepElement, [duration] )` - moves the presentation to the step given by its index number
id or the DOM element; second parameter can be used to define duration of the transition in ms,
but it's optional - if not provided default transition duration for the presentation will be used.