addContextMenuEntries#
Function addContextMenuEntries
- add
Context Menu Entries(entries, index?): number[] -
Parameters
-
entries: ContextMenuEntry[]
the entries to add
-
Optional
index: numberthe index at which to insert the entries, if not specified, the entries will be appended to the end
Returns number[]
the IDs of the added entries
-
Add new entries to the context menu.