ResponsiveTable
MMO.core · 1 symbol · generated 5 Oct 2026
ResponsiveTable
ResponsiveTable.js:26MMO.core.ResponsiveTable
- Namespace
MMO.core
Index
| SKIP | ||
| needs | ||
| labelled | ||
| roots | ||
| queue | ||
| frame | ||
| resizer | ||
| watch(root) | Label and fit every table under a root, then follow the tables added to it or changed later. | |
| schedule(table) | Relabel and refit a table on the next frame, once whatever is changing it has finished. | |
| columns(table) | The header grid: one entry per column, the header cells above it from top to bottom. | |
| text(cell) | ||
| label(table) | Write on every cell the header it sits under (the namespace). | |
| fit(table) | Stack a table that does not fit its box, unstack one that would fit again. |
Constants1
SKIP
ResponsiveTable.js:28- Type
string
Properties6
needs
ResponsiveTable.js:31- Type
WeakMap<HTMLTableElement, number>
labelled
ResponsiveTable.js:33- Type
WeakSet<Element>
roots
ResponsiveTable.js:35- Type
WeakSet<Node>
queue
ResponsiveTable.js:37- Type
Set<HTMLTableElement>
frame
ResponsiveTable.js:38resizer
ResponsiveTable.js:40- Type
ResizeObserver
Methods6
watch(root)
ResponsiveTable.js:47Label and fit every table under a root, then follow the tables added to it or changed later.
| root | Document | ShadowRoot | Element | |
| returns | void |
schedule(table)
ResponsiveTable.js:80Relabel and refit a table on the next frame, once whatever is changing it has finished.
| table | HTMLTableElement | |
| returns | void |
columns(table)
ResponsiveTable.js:102The header grid: one entry per column, the header cells above it from top to bottom.
| table | HTMLTableElement | |
| returns | Array<Array<HTMLTableCellElement>> |
text(cell)
ResponsiveTable.js:134| cell | HTMLTableCellElement | a header cell |
| returns | string | what it says, "" for a blank one |
label(table)
ResponsiveTable.js:143Write on every cell the header it sits under (the namespace).
| table | HTMLTableElement | |
| returns | void |
fit(table)
ResponsiveTable.js:210Stack a table that does not fit its box, unstack one that would fit again.
| table | HTMLTableElement | |
| returns | void |