Todo
Documentation generated by typedoc
on Thu Feb 20 2025 16:25:49 GMT+0000 (Coordinated Universal Time)
with typedoc-plugin-markdown
(and then rendered by quarto
).
Interfaces
TTodoTable
Defined in: todo.js:7
Properties
elem
: HTMLElement | Element; elem
Defined in: todo.js:9
outermost element
highlightRow()
: (row) => void; highlightRow
Defined in: todo.js:12
Highlight a row.
Parameters
row
HTMLElement
Returns
void
initialize()
: () => void; initialize
Defined in: todo.js:13
Initializer.
Returns
void
rows
: HTMLElement[]; rows
Defined in: todo.js:11
All rows with elem
.
tables
: HTMLElement[]; tables
Defined in: todo.js:10
All tables within elem
Variables
TodoTableInstances
const TodoTableInstances: Map<string, TTodoTable>;
Defined in: todo.js:4
Functions
hydrate()
function hydrate(): void;
Defined in: todo.js:64
Returns
void
TodoTable()
function TodoTable(elem): TTodoTable;
Defined in: todo.js:31
Highlight the rows in table to indicate completion status.
Check that the table is well formed. Since quarto is silly about giving ids to tables (and cross references are broken in the version that I am currently using) wrap tables in a div with the id.
Parameters
elem
The table element wrapped in a table group. This must have an id
that starts with tbl-
.
HTMLElement
| Element
Returns
Throws
if the identifier is malformed or missing.