Skip to content

Commit

Permalink
Readme: Options/comparison: Rephrase doc
Browse files Browse the repository at this point in the history
Motivation: I had a hard time finding the option, and even did a Cmd-F for "save" and couldn't find this ;) Fortunately I could parse through simonwep#25 to find it!
  • Loading branch information
joallard committed Mar 10, 2020
1 parent 75f649e commit c0a8c0f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -261,7 +261,10 @@ const pickr = new Pickr({
// Precision of output string (only effective if components.interaction.input is true)
outputPrecision: 0,

// If set to false it would directly apply the selected color on the button and preview.
// Defines change/save behavior:
// - to keep current color in place until Save is pressed, set to `true`,
// - to apply color to button and preview (save) in sync with each change
// (from picker or palette), set to `false`.
comparison: true,

// Default color. If you're using a named color such as red, white ... set
Expand Down

0 comments on commit c0a8c0f

Please sign in to comment.