itemSizes
Each item's size from a size or width style attribute, in the mark's own units: one for every item, a list cycled item by item, or one per item from an application — #self.degree -> 1..10 -> 1 + 2_ (D71). A scale written that way earns a key: the interval it normalised over, and the size its expression draws at each end.
@internote/canvas-sdkOn this page
import { itemSizes } from '@internote/canvas-sdk';#Signature
(
value: unknown,
source: ItemSource | null,
params: Record<string, number>,
): ItemSizes#Parameters
valueThe attribute's value.
sourceWhere the readings come from.
paramsThe live parameter values.
Declared in packages/canvas-sdk/src/data/item-looks.ts:363.