2.2.5 • Published 6 months ago

@types/bootstrap-toggle v2.2.5

Weekly downloads
699
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/bootstrap-toggle

Summary

This package contains type definitions for bootstrap-toggle (https://github.com/minhur/bootstrap-toggle).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bootstrap-toggle.

index.d.ts

// Type definitions for bootstrap-toggle 2.2
// Project: https://github.com/minhur/bootstrap-toggle, http://www.bootstraptoggle.com
// Definitions by: Mitchell Grice <https://github.com/gricey432>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.7

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

interface BootstrapToggleOptions {
    on?: string | undefined;
    off?: string | undefined;
    size?: string | undefined;
    onstyle?: string | undefined;
    offstyle?: string | undefined;
    style?: string | undefined;
    width?: number | string | null | undefined;
    height?: number | string | null | undefined;
}

interface JQuery {
    bootstrapToggle(options?: BootstrapToggleOptions): JQuery;
    bootstrapToggle(command: "destroy" | "on" | "off" | "toggle" | "enable" | "disable"): JQuery;
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 00:35:34 GMT
  • Dependencies: @types/jquery
  • Global values: none

Credits

These definitions were written by Mitchell Grice.

2.2.5

6 months ago

2.2.4

7 months ago

2.2.3

3 years ago

2.2.2

3 years ago

2.2.1

5 years ago

2.2.0

6 years ago