# @types/jquery.contextmenu

> TypeScript definitions for jquery.contextmenu

Latest version **1.7.39** (published 2025-07-29) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.7.39 |
| Published | 2025-07-29 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [@types/jquery](https://npm.io/package/@types/jquery.md) *

## Recent versions

- 1.7.39 (latest) — 2025-07-29
- 1.7.38 (ts4.6) — 2024-01-30
- 1.7.37 (ts4.5) — 2023-11-07
- 1.7.35 (ts3.7) — 2021-07-08
- 1.7.34 (ts2.3) — 2018-11-19
- 1.7.31 (ts2.1) — 2016-11-22
- 1.7.36 — 2023-10-18
- 1.7.33 — 2017-08-21
- 1.7.32 — 2017-06-15
- 1.7.30 — 2016-09-19
- 1.7.29 — 2016-08-25
- 1.7.28 — 2016-08-19
- 1.7.27 — 2016-08-02
- 1.7.26 — 2016-07-14
- 1.7.25-alpha — 2016-07-08
- … 8 more at https://npm.io/package/@types/jquery.contextmenu/versions

## README

# Installation
> `npm install --save @types/jquery.contextmenu`

# Summary
This package contains type definitions for jquery.contextmenu (http://medialize.github.com/jQuery-contextMenu/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.contextmenu.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.contextmenu/index.d.ts)
````ts
/// <reference types="jquery" />

interface JQueryContextMenuOptions {
    selector: string;
    appendTo?: string | undefined;
    trigger?: string | undefined;
    autoHide?: boolean | undefined;
    delay?: number | undefined;
    determinePosition?: ((menu: JQuery) => void) | undefined;
    position?: ((opt: JQueryContextMenuOptions & { $menu: JQuery }, x: number, y: number) => void) | undefined;
    positionSubmenu?: ((menu: JQuery) => void) | undefined;
    zIndex?: number | undefined;
    animation?: {
        duration?: number | undefined;
        show?: string | undefined;
        hide?: string | undefined;
    } | undefined;
    events?: {
        show?: ((options: any) => boolean) | undefined;
        hide?: ((options: any) => boolean) | undefined;
    } | undefined;
    callback?: ((key: any, options: any) => any) | undefined;
    items?: any;
    build?: ((triggerElement: JQuery, e: Event) => any) | undefined;
    reposition?: boolean | undefined;
    className?: string | undefined;
    itemClickEvent?: string | undefined;
}

interface JQueryStatic {
    contextMenu(options?: JQueryContextMenuOptions): JQuery;
    contextMenu(type: string, selector?: any): JQuery;
}

interface JQuery {
    contextMenu(options?: any): JQuery;
}

````

### Additional Details
 * Last updated: Tue, 29 Jul 2025 01:31:49 GMT
 * Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery)

# Credits
These definitions were written by [Natan Vivo](https://github.com/nvivo).

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