2.3.33 • Published 6 months ago
@types/vex-js v2.3.33
Installation
npm install --save @types/vex-js
Summary
This package contains type definitions for Vex (https://github.com/HubSpot/vex).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vex-js.
index.d.ts
// Type definitions for Vex v2.3.2
// Project: https://github.com/HubSpot/vex
// Definitions by: Greg Cohan <https://github.com/gdcohan>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
///<reference types="jquery" />
export = vex;
export as namespace vex;
declare namespace vex {
interface ICSSAttributes {
[property: string]: string | number;
}
interface IVexOptions {
afterClose?: (() => void) | undefined;
afterOpen?: ((vexContent: JQuery) => void) | undefined;
content?: string | undefined;
showCloseButton?: boolean | undefined;
escapeButtonCloses?: boolean | undefined;
overlayClosesOnClick?: boolean | undefined;
appendLocation?: HTMLElement | JQuery | string | undefined;
className?: string | undefined;
css?: ICSSAttributes | undefined;
overlayClassName?: string | undefined;
overlayCSS?: ICSSAttributes | undefined;
contentClassName?: string | undefined;
contentCSS?: ICSSAttributes | undefined;
closeClassName?: string | undefined;
closeCSS?: ICSSAttributes | undefined;
}
interface Vex {
open(options: IVexOptions): JQuery;
close(id?: number): boolean;
closeAll(): boolean;
closeByID(id: number): boolean;
defaultOptions?: IVexOptions | undefined;
}
}
declare var vex: vex.Vex;
Additional Details
- Last updated: Fri, 02 Jul 2021 18:05:02 GMT
- Dependencies: @types/jquery
- Global values:
vex
Credits
These definitions were written by Greg Cohan.
2.3.31
8 months ago
2.3.33
6 months ago
2.3.32
7 months ago
2.3.30
3 years ago
2.3.29
7 years ago
2.3.28
7 years ago
2.3.27
8 years ago
2.3.26
8 years ago
2.3.25-alpha
8 years ago
2.3.24-alpha
8 years ago
2.3.23-alpha
8 years ago
2.3.22-alpha
8 years ago
2.3.21-alpha
8 years ago
2.3.20-alpha
8 years ago
2.3.19-alpha
8 years ago
2.3.14-alpha
8 years ago
2.3.13-alpha
8 years ago