November's Paddleball Marathon

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

    3.6.1 • 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

    // Type definitions for bootstrap4-toggle 3.6
    // Project: https://github.com/gitbrent/bootstrap4-toggle, https://gitbrent.github.io/bootstrap4-toggle/
    // 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:36 GMT
    • Dependencies: @types/jquery
    • Global values: none

    Credits

    These definitions were written by Mitchell Grice.

    Keywords

    none

    Install

    npm i @types/bootstrap4-toggle

    DownloadsWeekly Downloads

    195

    Version

    3.6.1

    License

    MIT

    Unpacked Size

    4.43 kB

    Total Files

    4

    Last publish

    Collaborators

    • types