0.0.36 • Published 3 months ago

@types/jquery.bootstrap.wizard v0.0.36

Weekly downloads
1,283
License
MIT
Repository
github
Last release
3 months ago

Installation

npm install --save @types/jquery.bootstrap.wizard

Summary

This package contains type definitions for twitter-bootstrap-wizard (https://github.com/VinceG/twitter-bootstrap-wizard).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.bootstrap.wizard.

index.d.ts

// Type definitions for twitter-bootstrap-wizard
// Project: https://github.com/VinceG/twitter-bootstrap-wizard
// Definitions by: Blake Niemyjski <https://github.com/niemyjski>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

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

interface WizardOptions {
    tabClass?: string | undefined;
    nextSelector?: string | undefined;
    previousSelector?: string | undefined;
    firstSelector?: string | undefined;
    lastSelector?: string | undefined;
    onShow?: ((activeTab: any, navigation: any, nextIndex: number) => void) | undefined;
    onInit?: ((activeTab: any, navigation: any, currentIndex: number) => void) | undefined;
    onNext?: ((activeTab: any, navigation: any, nextIndex: number) => boolean) | undefined;
    onPrevious?: ((activeTab: any, navigation: any, previousIndex: number) => boolean) | undefined;
    onLast?: ((activeTab: any, navigation: any, lastIndex: number) => boolean) | undefined;
    onFirst?: ((activeTab: any, navigation: any, firstIndex: number) => boolean) | undefined;
    onTabClick?: ((activeTab: any, navigation: any, currentIndex: number) => boolean) | undefined;
    onTabShow?: ((activeTab: any, navigation: any, currentIndex: number) => boolean) | undefined;
}

interface Wizard {
    next(): void;
    previous(): void;
    first(): void;
    last(): void;
    currentIndex(): number;
    firstIndex(): number;
    lastIndex(): number;
    getIndex(element: any): number;
    nextIndex(): number;
    previousIndex(): number;
    navigationLength(): number;
    activeTab(): any;
    nextTab(): any;
    previousTab(): any;
    show(index: number): any;
}

interface JQuery {
    bootstrapWizard(method: 'next' | 'previous' | 'first' | 'last' | 'back' | 'finish'): void;
    bootstrapWizard(method: 'currentIndex' | 'navigationLength'): number;
    bootstrapWizard(method: 'show', indexOrId: number | string): void;
    bootstrapWizard(method: 'enable' | 'disable' | 'display' | 'hide', index: number): void;
    bootstrapWizard(method: 'remove', index: number, removeTabPane?: boolean): void;
    bootstrapWizard(options?: WizardOptions): Wizard;
}

interface JQueryStatic {
    bootstrapWizard: Wizard;
}

Additional Details

  • Last updated: Thu, 23 Dec 2021 23:34:56 GMT
  • Dependencies: @types/jquery
  • Global values: none

Credits

These definitions were written by Blake Niemyjski.

0.0.36

3 months ago

0.0.33

8 months ago

0.0.34

7 months ago

0.0.35

6 months ago

0.0.32

2 years ago

0.0.31

3 years ago

0.0.30

6 years ago

0.0.29

7 years ago

0.0.28

8 years ago

0.0.27

8 years ago

0.0.26-alpha

8 years ago

0.0.25-alpha

8 years ago

0.0.24-alpha

8 years ago

0.0.23-alpha

8 years ago

0.0.22-alpha

8 years ago

0.0.21-alpha

8 years ago

0.0.20-alpha

8 years ago

0.0.15-alpha

8 years ago

0.0.14-alpha

8 years ago