MainMenu.getWidth Method

Retrieves width of the menu.
 

Parameters

isSubMenuIncluded

Type: Boolean
(optional) By default the sub menu width is not included in the call for width. Setting this flag will include it.
Optional: True

Return Value


Type: Number
The width.