WebKit2.ContextMenu.prototype.get_n_items

function get_n_items(): Number(guint) {
    // Gjs wrapper for webkit_context_menu_get_n_items()
}
  

Gets the length of the menu.

Returns

the number of WebKit2.ContextMenuItem<!-- -->s in menu