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 2a5566e + 3bf47f6 commit 506b0c1Copy full SHA for 506b0c1
intro.js
@@ -1703,6 +1703,24 @@
1703
_goToStep.call(this, step);
1704
return this;
1705
},
1706
+ addStep: function(options) {
1707
+ if (!this._options.steps) {
1708
+ this._options.steps = [];
1709
+ }
1710
+
1711
+ this._options.steps.push(options);
1712
1713
+ return this;
1714
+ },
1715
+ addSteps: function(steps) {
1716
+ if (!steps.length) return;
1717
1718
+ for(var index = 0; index < steps.length; index++) {
1719
+ this.addStep(steps[index]);
1720
1721
1722
1723
1724
nextStep: function() {
1725
_nextStep.call(this);
1726
0 commit comments