Skip to content

Commit

Permalink
[docs] update to new parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
svgeesus committed Jun 24, 2020
1 parent 93fc367 commit 13e3d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ so that it can have a property (primitives in Javascript cannot have properties)

When working with [ranges](interpolation), you may often need to display the range as a CSS gradient.
The trick here is to grab as many steps as you need via `color.steps()`, then use them as gradient color stops.
If you don't know how many steps you need, this is what the `delta` parameter is for, as it lets you specify the maximum allowed deltaE between consecutive colors.
If you don't know how many steps you need, this is what the `maxDeltaE` parameter is for, as it lets you specify the maximum allowed deltaE between consecutive colors.

<div id="test" style="width: 100%; height: 2em"></div>

Expand Down

0 comments on commit 13e3d55

Please sign in to comment.