OptionMenu.getNItems

Gets the length of the menu.

class OptionMenu
uint
getNItems
()

Return Value

Type: uint

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