Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/jquery.contextmenu

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jquery.contextmenu

TypeScript definitions for jquery.contextmenu

  • 1.7.36
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.4K
decreased by-28.15%
Maintainers
1
Weekly downloads
 
Created
Source

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

/// <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: 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: Wed, 18 Oct 2023 05:47:07 GMT
  • Dependencies: @types/jquery

Credits

These definitions were written by Natan Vivo.

FAQs

Package last updated on 18 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc