🤖 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:
Aliaksei Kislou
2023-02-14 12:26:02 +03:00
committed by GitHub
parent f96e427d2f
commit ec66a1d511
2 changed files with 2 additions and 0 deletions

View File

@@ -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;

View File

@@ -10,6 +10,7 @@ intro.setOption('showProgress', true);
intro.setOptions({
hidePrev: true,
hideNext: false,
nextToDone: true,
scrollPadding: 30,
hintAnimation: false,
steps: [