# Legato.Control.ToggleDiv

This simple control switches the visibility of its given control

#### Inherits from

- Legato.Control

Summary

Legato.Control.ToggleDiv | This simple control switches the visibility of its given control
Functions |
activate | Invoked when the control is activated in toggle mode
trigger | Invoked when the control is deactivated in toggle mode
Configurable Components |
lc:ToggleDisplay |
Configurable Properties |
control | {olc:Control} Control to be toggled.

### Functions

### activate

> activate : function()

Invoked when the control is activated in toggle mode

### trigger

Invoked when the control is deactivated in toggle mode

### Configurable Components

### lc:ToggleDisplay

#### Inherits from

- olc:Control

#### See also

- lc namsepace
- {<Legato.Control.ToggleDisplay>}

### Configurable Properties

### control

{olc:Control} Control to be toggled.

> activate : function()

Invoked when the control is activated in toggle mode
Abstract base component for OpenLayers Controls.
Abstract base class for all Legato control classes
Namespace for Legato controls.