Skip to content

Latest commit

 

History

History
106 lines (49 loc) · 1.52 KB

zotero-plugin-toolkit.menumanager.md

File metadata and controls

106 lines (49 loc) · 1.52 KB

Home > zotero-plugin-toolkit > MenuManager

MenuManager class

Register <menuitem>, <menupopup>, or <menuseperator> to Zotero right-click/window menus.

Signature:

export declare class MenuManager extends ManagerTool 

Extends: ManagerTool

Constructors

Constructor

Modifiers

Description

(constructor)(base)

Constructs a new instance of the MenuManager class

Methods

Method

Modifiers

Description

register(menuPopup, options, insertPosition, anchorElement)

Insert an menu item/menu(with popup)/menuseprator into a menupopup

unregister(menuId)

unregisterAll()