> For the complete documentation index, see [llms.txt](https://docs.gapvelocity.ai/webmap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gapvelocity.ai/webmap/general/frontend/documentation/base-components/components/container.md).

# Container

## Implementation Details

> **Component Selector:** 'wm-container'

## PME Support

### Properties

| Property                               | Get/Set | Notify Changes | Details                                                      |
| -------------------------------------- | ------- | -------------- | ------------------------------------------------------------ |
| controls: { \[key: string]: boolean }; | Yes     | No             | Gets or sets the collection of controls contained by itself. |

### Methods

| Method          | Supported | Details                                                                                                                  |
| --------------- | --------- | ------------------------------------------------------------------------------------------------------------------------ |
| loadComponent   | Yes       | Renders a component inside the Container component.                                                                      |
| updateContainer | Yes       | Adds or removes a component of the Container component, if the parameter `value` is false the component will be removed. |
| addControl      | Yes       | Adds a new component to the controls collection.                                                                         |
| removeControl   | Yes       | Removes an existing component from the controls collection.                                                              |

### Events

| Event         | Supported | Parameter       | Details                                                                            |
| ------------- | --------- | --------------- | ---------------------------------------------------------------------------------- |
| RemoveControl | Yes       | **$event**: any | Triggers `RemoveControl` Event when a control is removed from controls collection. |
