MainMenu Constructor

Initializes the control. Called during construction.
 

Parameters

element

Type: jQuery
The DOM element that the control will render to.
subMenuContainer

Type: jQuery
The DOM element that the control will render the sub menu to.