<shinbun-table>
Wrapper for a real `table`. The wrapper keeps native table semantics: the inner `table` gets the shinbun-css classes, and cells with `num` are right-aligned. Tables are always set horizontally.
Example
| A | 12.5 |
|---|
<shinbun-paper dan="4" chars="8" font-size="0.8rem">
<shinbun-page>
<shinbun-table span="3">
<table>
<caption>表</caption>
<tbody><tr><th scope="row">A</th><td num>12.5</td></tr></tbody>
</table>
</shinbun-table>
</shinbun-page>
</shinbun-paper>
Attributes
| Name | Type | Description |
|---|---|---|
tv | boolean | Compact TV-listing style |
span | number | Number of columns (1-15) |
y | number | Start column (1-15) |
x | number | Start position on the line axis (1-60) |
w | number | Lines occupied on the line axis (1-60) |
Properties
None
Methods
None
Slots
| Name | Description |
|---|---|
(default) | A `table` element |
CSS custom properties
None