1.7.38 • Published 3 months ago

@types/jquery.contextmenu v1.7.38

Weekly downloads
801
License
MIT
Repository
github
Last release
3 months ago

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.

1.7.38

3 months ago

1.7.36

7 months ago

1.7.37

6 months ago

1.7.35

3 years ago

1.7.34

5 years ago

1.7.33

7 years ago

1.7.32

7 years ago

1.7.31

7 years ago

1.7.30

8 years ago

1.7.29

8 years ago

1.7.28

8 years ago

1.7.27

8 years ago

1.7.26

8 years ago

1.7.25-alpha

8 years ago

1.7.24-alpha

8 years ago

1.7.23-alpha

8 years ago

1.7.22-alpha

8 years ago

1.7.21-alpha

8 years ago

1.7.20-alpha

8 years ago

1.7.19-alpha

8 years ago

1.7.14-alpha

8 years ago

1.7.13-alpha

8 years ago