Legato.Control.ToggleDiv

This simple control switches the visibility of an arbitrary div which is given in its “div” property.

Inherits from

Summary
Legato.Control.ToggleDivThis simple control switches the visibility of an arbitrary div which is given in its “div” property.
Functions
activateInvoked when the control is activated in toggle mode
triggerInvoked when the control is deactivated in toggle mode
lc:ToggleDivXML based config for a Legato.Control.ToggleDiv.

Functions

activate

activate: function()

Invoked when the control is activated in toggle mode

trigger

Invoked when the control is deactivated in toggle mode

lc:ToggleDiv

XML based config for a Legato.Control.ToggleDiv.

See Also

A valid config example for a ToggleDiv would be

<lc:ToggleDiv div="overviewMap" displayClass="LegatoControlToggleOverviewMap"/>
activate: function()
Invoked when the control is activated in toggle mode
This simple control switches the visibility of an arbitrary div which is given in its “div” property.
Abstract base class for all Legato control classes