5.0.4 • Published 7 months ago
@types/smartwizard v5.0.4
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.