Class: Logistics

cercalia.Control.Logistics

Let you create a selector menu with a list of options, and assign a click event to each option
The options to be included by parameter are
Example:
var option1 = {name:'opcio_1',className:'class1',clickFunction:function(){alert('1');}}; var option2 = {name:'opcio_2',className:'class2',clickFunction:function(){alert('2');}}; var customSwitcherControl = new cercalia.Control.CustomSwitcherControl({ name : 'Switcher1', name : 'Custom selector menu', menuOptions : [option1,option2] });

new cercalia.Control.Logistics()

Extends

Methods

Returns:
class

Obtain the control DOM element

Returns:
DOM Element
Returns:
Returns the label name assigned to the control

Returns the control name

Returns:
Control name

Hide the control

Shows the control