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

3.2.4 • Public • Published

Installation

npm install --save @types/jquery-drawer

Summary

This package contains type definitions for jquery-drawer (http://git.blivesta.com/drawer).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-drawer.

index.d.ts

/// <reference types="jquery" />
/// <reference types="iscroll" />

interface JQueryDrawerClassOptions {
    nav?: string | undefined;
    toggle?: string | undefined;
    overlay?: string | undefined;
    open?: string | undefined;
    close?: string | undefined;
    dropdown?: string | undefined;
}

interface JQueryDrawerOptions {
    class?: JQueryDrawerClassOptions | undefined;
    iscroll?: IScrollOptions | undefined;
    showOverlay?: boolean | undefined;
}

interface JQuery {
    drawer(options?: JQueryDrawerOptions): JQuery;
    drawer(method: "open" | "close" | "toggle" | "destroy"): JQuery;
    on(event: "drawer.opened" | "drawer.closed", handler: () => void): JQuery;
}

Additional Details

Credits

These definitions were written by Pine Mizune.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jquery-drawer

Weekly Downloads

492

Version

3.2.4

License

MIT

Unpacked Size

4.1 kB

Total Files

5

Last publish

Collaborators

  • types