Constructor
(abstract) new module:caplin/menu/Generator()
Methods
-
addParentControl()
-
Sets the parent control. This will be done automatically by the
module:caplin/menu/Control
. -
create(model, container)
-
Appends the html element representation of the given model to the provided container.
Parameters:
Name Type Description model
module:caplin/menu/Model The model. container
HTMLElement The container element. -
destroy()
-
Release any memory that the control holds.
-
getParentControl() → {module:caplin/menu/Control}
-
Returns the parent control. Use this method in order to be able to call the append method from other generator types.
Returns:
The parent control.