SheetXL - v1.0.7
    Preparing search index...

    Variable GradientStopsBarConst

    GradientStopsBar: MemoExoticComponent<(props: GradientStopsBarProps) => Element> = ...

    The stops of a gradient as a ramp with a handle under each stop: drag a handle to move its stop, hover it for its color and remove buttons, press the ramp (or the add button) for a new stop. The ramp runs left to right whatever the gradient's own angle — it edits the stops, not the direction, as Excel's does.

    A stop has no identity of its own — the model holds offsets and colors — but a handle must keep one, or a drag past a neighbor swaps the two handles' elements as the stops re-sort, and the focus, the open popup and the armed outline land on the wrong stop. So the bar assigns each stop a key, carries the keys through every edit it makes, and matches the stops it is handed back against what it wrote; stops from elsewhere (an undo, another editor) get fresh keys.