OptionMenu.getNItems

uint getNItems() nothrow

Gets the length of the menu.

Returns

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