addContextMenuEntriesΒΆ
Function addContextMenuEntries
- addContextMenuEntries(entries: ContextMenuEntry[], index?: number): 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
- entries: ContextMenuEntry[]
Add new entries to the context menu.