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-sdkOn 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
valueThe attribute's value.
sourceWhere the readings come from; null for a mark of
count items with no data behind them.paramsThe live parameter values.
countHow many items there are, where
source is null.orderEach 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.