This simple control switches the visibility of an arbitrary div which is given in its “div” property.
| Legato. | This simple control switches the visibility of an arbitrary div which is given in its “div” property. |
| Functions | |
| activate | Invoked when the control is activated in toggle mode |
| trigger | Invoked when the control is deactivated in toggle mode |
| lc: | XML based config for a Legato.Control.ToggleDiv. |
XML based config for a Legato.Control.ToggleDiv.
<lc:ToggleDiv div="overviewMap" displayClass="LegatoControlToggleOverviewMap"/>
Invoked when the control is activated in toggle mode
activate: function()