@types/bootstrap4-toggle
TypeScript icon, indicating that this package has built-in type declarations

3.6.3 • Public • Published

Installation

npm install --save @types/bootstrap4-toggle

Summary

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

Details

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

index.d.ts

/// <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: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: @types/jquery

Credits

These definitions were written by Mitchell Grice.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 3.6.3
    148
  • 3.6.2
    0
  • 3.6.1
    71
  • 3.6.0
    1

Package Sidebar

Install

npm i @types/bootstrap4-toggle

Weekly Downloads

220

Version

3.6.3

License

MIT

Unpacked Size

3.78 kB

Total Files

5

Last publish

Collaborators

  • types