mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 08:17:05 +00:00
Update events option in types/jquery.contextmenu/index.d.ts (#30372)
* Update index.d.ts The events show/hide options allow options to be passed and may return false to prevent the event occurring * Update index.d.ts
This commit is contained in:
committed by
Pranav Senthilnathan
parent
f849e87482
commit
0e4592331c
Vendored
+2
-2
@@ -22,8 +22,8 @@ interface JQueryContextMenuOptions {
|
||||
hide?: string;
|
||||
};
|
||||
events?: {
|
||||
show?: () => void;
|
||||
hide?: () => void;
|
||||
show?: (options: any) => boolean;
|
||||
hide?: (options: any) => boolean;
|
||||
};
|
||||
callback?: (key: any, options: any) => any;
|
||||
items?: any;
|
||||
|
||||
Reference in New Issue
Block a user