WebKit2.ContextMenu.prototype.first

function first(): WebKit2.ContextMenuItem {
    // Gjs wrapper for webkit_context_menu_first()
}
  

Gets the first item in the menu.

Returns

the first WebKit2.ContextMenuItem of menu, or null if the WebKit2.ContextMenu is empty.