Reference
Board element
import { … } from "@johnmorrisdotca/tsunagi/element";
251.5 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
defineBoard | function | Register a standard or custom board tag, preserving a definition. |
TSUNAGI_EMBED_OPTION_KEYS | constant | Every mounted-board option, kept complete by TypeScript and checked by the builder. |
TsunagiBoard | class | Native custom element with reflected setup and presentation. |
TsunagiElementOptions | type | Host callbacks and custom drawing palettes, which cannot be put in an attribute. |