@microsoft/fast-components > Palette > get
Palette.get() method
Gets a swatch by index. Index is clamped to the limits of the palette so a Swatch will always be returned.
Signature:get(index: number): T;
Parameters
Parameter | Type | Description |
---|---|---|
index | number |
T