Installation
npm install --save @types/basiclightbox
Summary
This package contains type definitions for basiclightbox (https://basiclightbox.electerious.com).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/basiclightbox.
export interface BasicLightBox {
show: (cb?: () => void) => void;
close: (cb?: () => void) => void;
visible: () => boolean;
element: () => Element;
}
export interface BasicLightBoxOptions {
closable?: boolean | undefined;
className?: string | undefined;
onShow?: ((instance: BasicLightBox) => boolean) | undefined;
onClose?: ((instance: BasicLightBox) => boolean) | undefined;
}
export function create(content: string | Element, options?: BasicLightBoxOptions): BasicLightBox;
export function visible(): boolean;
Additional Details
- Last updated: Tue, 17 Oct 2023 22:10:13 GMT
- Dependencies: none
Credits
These definitions were written by Adrian Hope-Bailie.