msm-story-viewer is a web component built with Lit.
Purpose
Use this component as a reusable UI building block.Usage
Attributes / properties
Events
Usage
CSS parts
base
Slots
slot
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Web component msm-story-viewer.
msm-story-viewer is a web component built with Lit.
<msm-story-viewer></msm-story-viewer>
| Name | Type | Default | Notes |
|---|---|---|---|
hammer | object | - |
| Event | detail | When |
|---|---|---|
entered | - | |
exited | - |
<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>
baseslot