Socket
Socket
Sign inDemoInstall

@types/jquery.contextmenu

Package Overview
Dependencies
2
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @types/jquery.contextmenu

TypeScript definitions for jQuery contextMenu


Version published
Weekly downloads
1.1K
increased by3.69%
Maintainers
1
Created
Weekly downloads
 

Readme

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

// Type definitions for jQuery contextMenu 1.7.0
// Project: http://medialize.github.com/jQuery-contextMenu/
// Definitions by: Natan Vivo <https://github.com/nvivo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

/// <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: Thu, 08 Jul 2021 16:22:34 GMT
  • Dependencies: @types/jquery
  • Global values: none

Credits

These definitions were written by Natan Vivo.

FAQs

Last updated on 08 Jul 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc