webext-tools
Advanced tools
| export type ClickListener = (data: chrome.contextMenus.OnClickData, tab: chrome.tabs.Tab) => void; | ||
| export default function createContextMenu(settings: Omit<chrome.contextMenus.CreateProperties, 'contexts'> & { | ||
| id: string; | ||
| contexts?: chrome.contextMenus.ContextType[]; | ||
| contexts?: Array<`${chrome.contextMenus.ContextType}`>; | ||
| }): Promise<void>; |
+1
-1
| { | ||
| "name": "webext-tools", | ||
| "version": "4.0.0", | ||
| "version": "4.0.1", | ||
| "description": "Utility functions for Web Extensions", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
13208
0.08%