3.6.3 • Published 2 years ago
@types/bootstrap4-toggle v3.6.3
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.