Menu.findActive Method

Returns the first lowest active menu item found (depth first) in each of the top-level items.
 

Return Value


Type: Array
ElementType: MenuItem
The menu items, if found.