> ## 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-range

> Web-Komponente msm-range.

`msm-range` ist eine Web-Komponente (Lit).

## Zweck

Wiederverwendbarer UI-Baustein.

## Beispiel

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

## Attribute / Properties

| Name       | Typ       | Standard                    | Hinweise |
| ---------- | --------- | --------------------------- | -------- |
| `variant`  | RangeType | -                           |          |
| `unit`     | string    | -                           |          |
| `step`     | number    | `this.step ? this.step : 1` |          |
| `min`      | number    | `this.min ? this.min : 0`   |          |
| `max`      | number    | `this.max ? this.max : 1`   |          |
| `disabled` | boolean   | -                           |          |
| `multiple` | boolean   | -                           |          |
| `required` | boolean   | -                           |          |

## Events

| Event               | detail  | Wann |
| ------------------- | ------- | ---- |
| `msm-range-changed` | `value` |      |

### Beispiel

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

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

</script>
```

## CSS parts

* `base`
* `progress`

## Slots

Keine Slots dokumentiert.

## Methoden

* `validate()`

## Hinweise

* Custom events bubble.
