# ui.data.ActiveList

<br />

An array-like container for data for use in UI components.

<br />

When a ui.data.ActiveList (e.g. Map.layers()) is updated, the component it belongs to is updated as well. For example, Map.layers().add(myLayer) will add myLayer as a layer on the map.

| Usage | Returns |
|---|---|
| `ui.data.ActiveList(*list*)` | ui.data.ActiveList |

| Argument | Type | Details |
|---|---|---|
| `list` | List\[Object\], optional | An optional list to initialize with. |