ContextMenu.getNItems

uint getNItems() nothrow

Gets the length of the menu.

Returns

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