> ## 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-story-viewer

> Web-компонент msm-story-viewer.

`msm-story-viewer` — web-компонент на Lit.

## Назначение

Переиспользуемый UI-блок.

## Пример

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

## Атрибуты / свойства

| Имя      | Тип    | По умолчанию | Примечания |
| -------- | ------ | ------------ | ---------- |
| `hammer` | object | -            |            |

## События

| Событие   | detail | Когда |
| --------- | ------ | ----- |
| `entered` | -      |       |
| `exited`  | -      |       |

### Пример

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

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

  el.addEventListener("exited", (e) => {
    console.log(e.detail);
  });

</script>
```

## CSS parts

* `base`

## Слоты

* `slot`

## Методы

Публичные методы не документированы.
