@types/cytoscape-context-menus
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -6,3 +6,3 @@ // Type definitions for cytoscape-context-menus 4.1 | ||
import cytoscape = require('cytoscape'); | ||
import cytoscape = require("cytoscape"); | ||
@@ -96,3 +96,9 @@ declare const contextMenus: cytoscape.Ext; | ||
*/ | ||
onClickFunction?: (event: cytoscape.EventObject | cytoscape.EventObjectCore | cytoscape.EventObjectNode | cytoscape.EventObjectEdge) => void; | ||
onClickFunction?: ( | ||
event: | ||
| cytoscape.EventObject | ||
| cytoscape.EventObjectCore | ||
| cytoscape.EventObjectNode | ||
| cytoscape.EventObjectEdge, | ||
) => void; | ||
/** | ||
@@ -151,3 +157,6 @@ * Whether the menu item will have a trailing divider. | ||
*/ | ||
moveToSubmenu: (itemID: string, options?: { coreAsWell?: string, selector?: string } | string | null) => cytoscape.Core | undefined; | ||
moveToSubmenu: ( | ||
itemID: string, | ||
options?: { coreAsWell?: string; selector?: string } | string | null, | ||
) => cytoscape.Core | undefined; | ||
/** | ||
@@ -193,5 +202,5 @@ * Inserts the item before the existing item with the given ID and moves it to the submenu that contains the existing item. | ||
*/ | ||
contextMenus: (options: contextMenus.MenuOptions | string) => contextMenus.ContextMenu; | ||
contextMenus: (options: contextMenus.MenuOptions | string) => contextMenus.ContextMenu; | ||
} | ||
} | ||
} |
{ | ||
"name": "@types/cytoscape-context-menus", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "TypeScript definitions for cytoscape-context-menus", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cytoscape-context-menus", | ||
}, | ||
"typesPublisherContentHash": "e660c7e2fb0802c650c868f9ba18c0f6885c5f49029044883106b30350fe20fa", | ||
"typesPublisherContentHash": "67ff13d3d9da57e1abcbf63cb6d35c0d62b2d591e2d3940727943a9b0393504d", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 07 Jul 2023 07:32:37 GMT | ||
* Last updated: Mon, 04 Sep 2023 15:41:37 GMT | ||
* Dependencies: [@types/cytoscape](https://npmjs.com/package/@types/cytoscape) | ||
@@ -14,0 +14,0 @@ * Global values: `contextMenus` |
10157
195