MatrixTable.svelte

view source

Declarations
#

MatrixTable
#

MatrixTable.svelte view source

accepts children

import MatrixTable from '@ryanatkn/syntax-highlighter-bench/MatrixTable.svelte';

libraries

The libraries shown, in column order.

type readonly BenchLibrary[]

groups

type readonly MatrixGroup[]

heading

The heading of the first column: what a row is.

type string

label

The accessible name of the table's scrolling region.

type string

reference?

The library every ratio is taken against, or null for the best in each row.

type string | null
optional default null

colored?

Whether ratios tint their cells.

type boolean
optional default true

summaries?

Whether a summary row is set apart from the cells it summarizes. Off where every row is a figure of its own.

type boolean
optional default true

bars?

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.

type boolean
optional default false

collapsible?

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.

type string | null
optional default null

fold_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.

type boolean
optional default false

children

The caption's lead: what the table shows.

type Snippet<[]>

more?

How to read the table, folded under the lead.

type Snippet<[]>
optional

Depends on
#