ContextMenu.getNItems

Gets the length of the menu.

class ContextMenu
uint
getNItems
()

Return Value

Type: uint

the number of #WebKitContextMenuItem<!-- -->s in menu