Add impress.js documentation
Closes gh-563.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user