> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mastermindcms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# msm-images-upload

> Web-Komponente msm-images-upload.

`msm-images-upload` ist eine Web-Komponente (Lit).

## Zweck

Darstellung von Medien (Bilder/Video).

## Beispiel

```html theme={null}
<msm-images-upload></msm-images-upload>
```

## Attribute / Properties

| Name        | Typ     | Standard | Hinweise      |
| ----------- | ------- | -------- | ------------- |
| `image`     | string  | -        |               |
| `imageUrls` | array   | -        | property only |
| `required`  | boolean | -        |               |

## Events

| Event              | detail | Wann |
| ------------------ | ------ | ---- |
| `msm-image-upload` | -      |      |
| `msm-image-remove` | -      |      |

### Beispiel

```html theme={null}
<msm-images-upload>
</msm-images-upload>

<script>
  const el = document.querySelector("msm-images-upload");
  el.addEventListener("msm-image-upload", (e) => {
    console.log(e.detail);
  });

  el.addEventListener("msm-image-remove", (e) => {
    console.log(e.detail);
  });

</script>
```

## CSS parts

Keine `part`-Slots dokumentiert.

## Slots

Keine Slots dokumentiert.

## Methoden

* `validate()`

## Hinweise

* Custom events bubble.
