IImpactFeasibilityMatrixRenderItemContext
@spartanfx/react / index / IImpactFeasibilityMatrixRenderItemContext
Interface: IImpactFeasibilityMatrixRenderItemContext<TItem>
Context passed to a custom IImpactFeasibilityMatrixProps.renderItem.
x / y here are the CURRENT on-screen coordinates (maximized-aware), which
differ from the normalized item's full-matrix x / y while a quadrant is
maximized.
Type Parameters
TItem
TItem
Properties
| Property | Type | Description |
|---|---|---|
index | number | Index of the item within the normalized list. |
isMaximized | boolean | Whether the item is currently rendered inside a maximized quadrant. |
item | IImpactFeasabilityMatrixItem<TItem> | The normalized item. |
originalItem | TItem | The untouched original consumer item. |
quadrantKey | TQuadrantKey | The quadrant this item belongs to. |
x | number | Current horizontal position, percent 0..100. |
y | number | Current vertical position, percent 0..100. |