itemValues

Each item's value under a style attribute, as the compiler gives it: a name, a number, a colour literal, an { apply } a ramp finishes, or null where the value gives the item none.

@internote/canvas-sdkFunction
On this page
import { itemValues } from '@internote/canvas-sdk';

#Signature

(
    value: unknown,
    source: ItemSource | null,
    params: Record<string, number>,
    count?: number,
    order?: ReadonlyArray<number>,
): unknown[]

#Parameters

value
The attribute's value.
source
Where the readings come from; null for a mark of count items with no data behind them.
params
The live parameter values.
count
How many items there are, where source is null.
order
Each item's place in written order, which a written list cycles by; the index where absent.

Declared in packages/canvas-sdk/src/data/item-looks.ts:111.

Last updated