1.7.38 • Published 1 year ago

@types/jquery.contextmenu v1.7.38

Weekly downloads
801
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.7.36

2 years ago

1.7.37

2 years ago

1.7.35

4 years ago

1.7.34

7 years ago

1.7.33

8 years ago

1.7.32

8 years ago

1.7.31

9 years ago

1.7.30

9 years ago

1.7.29

9 years ago

1.7.28

9 years ago

1.7.27

9 years ago

1.7.26

9 years ago

1.7.25-alpha

9 years ago

1.7.24-alpha

9 years ago

1.7.23-alpha

9 years ago

1.7.22-alpha

9 years ago

1.7.21-alpha

9 years ago

1.7.20-alpha

9 years ago

1.7.19-alpha

9 years ago

1.7.14-alpha

9 years ago

1.7.13-alpha

9 years ago