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.