goto is a future reserved word, so API method is renamed to stepTo

This commit is contained in:
Bartek Szopka
2012-03-10 12:20:20 +01:00
parent 047c1c25a1
commit 207c823a69
2 changed files with 10 additions and 10 deletions

View File

@@ -323,7 +323,7 @@ if ("ontouchstart" in document.documentElement) {
`api.next()` - moves to next step of the presentation,
`api.prev()` - moves to previous step of the presentation
`api.goto( stepElement ) - moves the presentation to given step element (the DOM element of the step).
`api.stepTo( stepElement ) - moves the presentation to given step element (the DOM element of the step).
You can also simply call `impress()` again to get the API, so `impress().next()` is also allowed.
Don't worry, it wont initialize the presentation again.