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:
tkachi
2018-11-19 08:33:39 -08:00
committed by Pranav Senthilnathan
parent f849e87482
commit 0e4592331c
+2 -2
View File
@@ -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;