MatrixCell.svelte

view source

Declarations
#

MatrixCell
#

MatrixCell.svelte view source

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

entry

unit

ratio?

The value's ratio against the row's baseline, when it has one.

type number
optional

floor?

The noise floor a ratio is read against, or null for none.

type number | null
optional default null

bound?

Whether the ratio is a lower bound: the true one is at least it.

type boolean
optional default false

colored?

Whether the ratio tints the cell. Off where a smaller number is not a better one.

type boolean
optional default true

open?

Whether the details are shown in the cell. They are always in its title.

type boolean
optional default false

bar?

The length of a bar beneath the number, as a fraction of the table's largest, or null for none.

type number | null
optional default null

reference?

Whether this is the reference library's column, which every ratio is taken against.

type boolean
optional default false

Depends on
#

Imported by
#