@types/cytoscape-context-menus
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -67,4 +67,4 @@ // Type definitions for cytoscape-context-menus 4.1 | ||
height: number; | ||
y: string; | ||
x: string; | ||
y: number; | ||
x: number; | ||
}; | ||
@@ -88,3 +88,3 @@ /** | ||
*/ | ||
submenu?: boolean; | ||
submenu?: MenuItem[]; | ||
/** | ||
@@ -97,3 +97,3 @@ * Whether the core instance will have this item on context menu event. | ||
*/ | ||
onClickFunction?: any; | ||
onClickFunction?: (event: cytoscape.EventObject | cytoscape.EventObjectCore | cytoscape.EventObjectNode | cytoscape.EventObjectEdge) => void; | ||
/** | ||
@@ -100,0 +100,0 @@ * Whether the menu item will have a trailing divider. |
{ | ||
"name": "@types/cytoscape-context-menus", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "TypeScript definitions for cytoscape-context-menus", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cytoscape-context-menus", | ||
}, | ||
"typesPublisherContentHash": "e62972d41fa5a0a8a9b7ca8aaa185f8ae53180f3f15065aa34852f88328aee0f", | ||
"typeScriptVersion": "4.0" | ||
"typesPublisherContentHash": "e660c7e2fb0802c650c868f9ba18c0f6885c5f49029044883106b30350fe20fa", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 19 Jul 2022 20:32:21 GMT | ||
* Last updated: Fri, 07 Jul 2023 07:32:37 GMT | ||
* Dependencies: [@types/cytoscape](https://npmjs.com/package/@types/cytoscape) | ||
@@ -14,0 +14,0 @@ * Global values: `contextMenus` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10034