Reference
Embedded roller and die
import { … } from "@johnmorrisdotca/korokoro/element";
97.2 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
defineDie | function | Register <korokoro-die>, as that tag unless another is asked for. |
defineRoller | function | Register the element, as <korokoro-roller> unless another tag is asked for. |
DIE_TAG | constant | The die's tag, unless another is asked for. |
KorokoroDie | class | ONE DIE ON ITS OWN, as a custom element: |
KorokoroRoller | class | The <korokoro-roller> element. |
ROLLER_TAG | constant | The element's tag, unless another is asked for. |