mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 15:08:08 +03:00
Update src/context-menu-manager.coffee
Co-authored-by: Sadick <sadickjunior@gmail.com>
This commit is contained in:
parent
31422befed
commit
31c91de00d
@ -109,9 +109,7 @@ class ContextMenuManager
|
||||
# with the following argument:
|
||||
# * `event` The click event that deployed the context menu.
|
||||
#
|
||||
# * `id` (internal) The {String} menu id, which is used only in javascript code, is not used in menu template.
|
||||
# For further information on the `id`, see [Electron MenuItem](https://www.electronjs.org/docs/api/menu-item#class-menuitem)).
|
||||
#
|
||||
# * `id` (internal) A {String} containing the menu item's id.
|
||||
# Returns a {Disposable} on which `.dispose()` can be called to remove the
|
||||
# added menu items.
|
||||
add: (itemsBySelector, throwOnInvalidSelector = true) ->
|
||||
|
Loading…
Reference in New Issue
Block a user