We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc7f830 + a890518 commit c442ad1Copy full SHA for c442ad1
README.md
@@ -198,6 +198,7 @@ introJs().onexit(function() {
198
###introJs.onchange(providedCallback)
199
200
Set callback to change of each step of introduction. Given callback function will be called after completing each step.
201
+The callback function receives the element of the new step as an argument.
202
203
**Available since:** v0.3.0
204
@@ -209,7 +210,7 @@ Set callback to change of each step of introduction. Given callback function wil
209
210
211
**Example:**
212
```javascript
-introJs().onchange(function() {
213
+introJs().onchange(function(targetElement) {
214
alert("new step");
215
});
216
````
0 commit comments