MatrixTable.svelte view source
accepts children
import MatrixTable from '@ryanatkn/syntax-highlighter-bench/MatrixTable.svelte'; libraries
The libraries shown, in column order.
readonly BenchLibrary[]groups
readonly MatrixGroup[]heading
The heading of the first column: what a row is.
stringlabel
The accessible name of the table's scrolling region.
stringreference?
The library every ratio is taken against, or null for the best in each row.
string | nullnullcolored?
Whether ratios tint their cells.
booleantruesummaries?
Whether a summary row is set apart from the cells it summarizes. Off where every row is a figure of its own.
booleantruebars?
Whether each number draws a bar beneath it, on one scale across its group, so a group's rows compare with each other as well as across.
booleanfalsecollapsible?
What a group's cell rows are, when a group with summary rows shows only those until it is opened, or null to show every row.
string | nullnullfold_unsummarized?
Whether a group with no summary row folds too, down to its header. Off where such a group is a figure of its own, as a cold start's single scenario is.
booleanfalsechildren
The caption's lead: what the table shows.
Snippet<[]>more?
How to read the table, folded under the lead.
Snippet<[]>