Skip to content

Commit b2626ba

Browse files
authored
Merge pull request usablica#1054 from vkrol/add-current-step-to-docs
Add currentStep() to docs
2 parents 4626e31 + 0a000d0 commit b2626ba

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/docs/intro/api.md

+16
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,22 @@ Start the introduction for defined element(s).
4444
introJs().start()
4545
````
4646
-----
47+
##### introJs.currentStep()
48+
49+
Returns the current step index.
50+
51+
**Available since**: v3.0.1
52+
53+
**Returns:**
54+
55+
- number or undefined.
56+
57+
**Example:**
58+
59+
```javascript
60+
introJs().currentStep()
61+
````
62+
-----
4763

4864
##### introJs.goToStep(step)
4965

0 commit comments

Comments
 (0)