5.0.4 • Published 7 months ago

@types/smartwizard v5.0.4

Weekly downloads
587
License
MIT
Repository
github
Last release
7 months ago

Installation

npm install --save @types/smartwizard

Summary

This package contains type definitions for smartwizard (https://github.com/techlab/SmartWizard).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/smartwizard/v4.

index.d.ts

// Type definitions for smartwizard 4.3
// Project: https://github.com/techlab/SmartWizard
// Definitions by: Stan Kurek <https://github.com/stankurek>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

/// <reference types="jquery"/>

declare namespace JQuerySmartwizard {
    type TransitionEffect = 'none' | 'slide' | 'fade';
    type ToolbarPosition = 'none' | 'top' | 'bottom' | 'both';
    type ToolbarButtonPosition = 'left' | 'right';

    interface ToolbarSettings {
        toolbarPosition?: ToolbarPosition | undefined;
        toolbarButtonPosition?: ToolbarButtonPosition | undefined;
        showNextButton?: boolean | undefined;
        showPreviousButton?: boolean | undefined;
        toolbarExtraButtons?: JQuery[] | undefined;
    }

    interface AnchorSettings {
        anchorClickable?: boolean | undefined;
        enableAllAnchors?: boolean | undefined;
        markDoneStep?: boolean | undefined;
        markAllPreviousStepsAsDone?: boolean | undefined;
        removeDoneStepOnNavigateBack?: boolean | undefined;
        enableAnchorOnDoneStep?: boolean | undefined;
    }

    interface Lang {
        next?: string | undefined;
        previous?: string | undefined;
    }

    interface SmartWizardOptions {
        selected?: number | undefined;
        keyNavigation?: boolean | undefined;
        autoAdjustHeight?: boolean | undefined;
        cycleSteps?: boolean | undefined;
        backButtonSupport?: boolean | undefined;
        useURLhash?: boolean | undefined;
        showStepURLhash?: boolean | undefined;
        contentURL?: null | string | undefined;
        contentCache?: boolean | undefined;
        ajaxSettings?: JQueryAjaxSettings | undefined;
        disabledSteps?: number[] | undefined;
        errorSteps?: number[] | undefined;
        hiddenSteps?: number[] | undefined;
        theme?: string | undefined;
        transitionEffect?: TransitionEffect | undefined;
        transitionSpeed?: string | number | undefined;
        toolbarSettings?: ToolbarSettings | undefined;
        anchorSettings?: AnchorSettings | undefined;
        lang?: Lang | undefined;
    }
}

interface JQuery {
    smartWizard(options?: JQuerySmartwizard.SmartWizardOptions): JQuery;
}

Additional Details

  • Last updated: Tue, 06 Jul 2021 16:34:59 GMT
  • Dependencies: @types/jquery
  • Global values: none

Credits

These definitions were written by Stan Kurek.

5.0.4

7 months ago

5.0.3

7 months ago

5.0.2

8 months ago

4.3.5

7 months ago

4.3.4

7 months ago

4.3.3

8 months ago

4.3.2

3 years ago

5.0.1

3 years ago

4.3.1

3 years ago

5.0.0

3 years ago

4.3.0

5 years ago