intro.js
    Preparing search index...

    Type Alias introSkipCallback

    introSkipCallback: (
        this: Tour,
        currentStep: number,
    ) => boolean | Promise<boolean> | void | Promise<void>

    Called when the user skips the tour (clicking, or pressing Enter on, the skip button). Return false (or a Promise resolving to false) to cancel the skip and keep the tour open - mirrors introBeforeExitCallback. Returning anything else (including void) lets the skip proceed as normal.

    Type Declaration

      • (
            this: Tour,
            currentStep: number,
        ): boolean | Promise<boolean> | void | Promise<void>
      • Parameters

        • this: Tour
        • currentStep: number

        Returns boolean | Promise<boolean> | void | Promise<void>