mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
🤖 Merge PR #64277 [intro.js] Add missing nextToDone option by @evenfrost
* Add missing option This adds the missing `nextToDone` option for intro.js. * Add tests for the `nextToDone` option
This commit is contained in:
1
types/intro.js/index.d.ts
vendored
1
types/intro.js/index.d.ts
vendored
@@ -43,6 +43,7 @@ declare namespace introJs {
|
||||
doneLabel?: string | undefined;
|
||||
hidePrev?: boolean | undefined;
|
||||
hideNext?: boolean | undefined;
|
||||
nextToDone?: boolean | undefined;
|
||||
tooltipPosition?: string | undefined;
|
||||
tooltipClass?: string | undefined;
|
||||
highlightClass?: string | undefined;
|
||||
|
||||
@@ -10,6 +10,7 @@ intro.setOption('showProgress', true);
|
||||
intro.setOptions({
|
||||
hidePrev: true,
|
||||
hideNext: false,
|
||||
nextToDone: true,
|
||||
scrollPadding: 30,
|
||||
hintAnimation: false,
|
||||
steps: [
|
||||
|
||||
Reference in New Issue
Block a user