@types/jquery.bootstrap.wizard
TypeScript icon, indicating that this package has built-in type declarations

0.0.36 • Public • Published

Installation

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

Summary

This package contains type definitions for jquery.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

/// <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: Tue, 30 Jan 2024 21:35:45 GMT
  • Dependencies: @types/jquery

Credits

These definitions were written by Blake Niemyjski.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jquery.bootstrap.wizard

Weekly Downloads

504

Version

0.0.36

License

MIT

Unpacked Size

6.69 kB

Total Files

5

Last publish

Collaborators

  • types