WebKit2.ContextMenu.prototype.remove

function remove(item: WebKit2.ContextMenuItem): void {
    // Gjs wrapper for webkit_context_menu_remove()
}
  

Removes item from the menu. See also WebKit2.ContextMenu.prototype.remove_all to remove all items.

item

the WebKit2.ContextMenuItem to remove