# @types/jquery.dropotron

> TypeScript definitions for jquery.dropotron

Latest version **1.4.35** (published 2024-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/jquery.dropotron
pnpm add @types/jquery.dropotron
yarn add @types/jquery.dropotron
bun add @types/jquery.dropotron
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.4.35 |
| Published | 2024-01-30 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/jquery.dropotron
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.dropotron
- npm.io page: https://npm.io/package/@types/jquery.dropotron

## Recent versions

- 1.4.35 (latest) — 2024-01-30
- 1.4.34 (ts4.5) — 2023-11-07
- 1.4.31 (ts3.6) — 2021-07-09
- 1.4.30 (ts3.5) — 2021-03-25
- 1.4.29 (ts2.3) — 2017-06-15
- 1.4.28 (ts2.0) — 2016-09-19
- 1.4.33 — 2023-10-18
- 1.4.32 — 2023-09-15
- 1.4.27 — 2016-07-14
- 1.4.26-alpha — 2016-07-08
- 1.4.25-alpha — 2016-07-04
- 1.4.24-alpha — 2016-07-02
- 1.4.23-alpha — 2016-07-01
- 1.4.22-alpha — 2016-07-01
- 1.4.21-alpha — 2016-05-25
- … 3 more at https://npm.io/package/@types/jquery.dropotron/versions

## README

# Installation
> `npm install --save @types/jquery.dropotron`

# Summary
This package contains type definitions for jquery.dropotron (https://github.com/n33/jquery.dropotron).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.dropotron.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.dropotron/index.d.ts)
````ts
/**
 * @summary Interface for "dropotron" configurations.
 * @author  Cyril Schumacher
 * @version 1.0
 */
interface DropotronConfiguration {
    /**
     * @summary Alignment ("left", "center", "right").
     */
    alignment: string;

    /**
     * @summary Base Z-Index.
     */
    baseZIndex: number;

    /**
     * @summary If true and detach = true, leave original menu intact.
     */
    cloneOnDetach: boolean;

    /**
     * @summary Detach second level menus (prevents parent style bleed).
     */
    detach: boolean;

    /**
     * @summary Easing mode ("swing", "linear").
     */
    easing: string;

    /**
     * @summary IE Offset X.
     */
    IEOffsetX: number;

    /**
     * @summary IE Offset Y.
     */
    IEOffsetY: number;

    /**
     * @summary Expansion mode ("hover" or "click").
     */
    expandMode: string;

    /**
     * @summary Global offset Y.
     */
    globalOffsetY: number;

    /**
     * @summary Hide delay (in ms; 0 disables).
     */
    hideDelay: number;

    /**
     * @summary Hover delay (in ms).
     */
    hoverDelay: number;

    /**
     * @summary Menu class (assigned to every <ul>).
     */
    menuClass: string;

    /**
     * @summary Menu mode ("instant", "fade", "slide", "zoom").
     */
    mode: string;

    /**
     * @summary If true and mode = "fade", prevents top-level opener fade.
     */
    noOpenerFade: boolean;

    /**
     * @summary Submenu offset X.
     */
    offsetX: number;

    /**
     * @summary Submenu offset Y.
     */
    offsetY: number;

    /**
     * @summary Active opener class.
     */
    openerActiveClass: string;

    /**
     * @summary Opener class.
     */
    openerClass: string;

    /**
     * @summary Parent jQuery object.
     */
    selectorParent: JQuery;

    /**
     * @summary Menu speed ("fast", "slow", or ms).
     */
    speed: string;

    /**
     * @summary Submenu class prefix.
     */
    submenuClassPrefix: string;
}

/**
 * @summary Interface for "dropotron".
 * @author  Cyril Schumacher
 * @version 1.0
 */
interface Dropotron {
    /**
     * @summary Adds multilevel dropdown menus to jQuery.
     * @param config Optional. Configuration.
     */
    (config?: DropotronConfiguration): void;
}

/**
 * @summary Interface for "JQuery".
 * @author  Cyril Schumacher
 * @version 1.0
 */
interface JQuery {
    dropotron: Dropotron;
}

````

### Additional Details
 * Last updated: Tue, 30 Jan 2024 21:35:45 GMT
 * Dependencies: none

# Credits
These definitions were written by [Cyril Schumacher](https://github.com/cyrilschumacher).

---
_Source: https://npm.io/package/@types/jquery.dropotron · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
