mirror of
https://github.com/PitPik/colorPicker.git
synced 2025-07-23 18:04:29 -06:00
Merge pull request #43 from t-mw/t-mw-patch-1
Update README to reflect actual behaviour of size parameter
This commit is contained in:
commit
41d780c31f
@ -74,7 +74,7 @@ var myColorPicker = new ColorPicker({
|
|||||||
fps: 60, // the framerate colorPicker refreshes the display if no 'requestAnimationFrame'
|
fps: 60, // the framerate colorPicker refreshes the display if no 'requestAnimationFrame'
|
||||||
delayOffset: 8, // pixels offset when shifting mouse up/down inside input fields before it starts acting as slider
|
delayOffset: 8, // pixels offset when shifting mouse up/down inside input fields before it starts acting as slider
|
||||||
CSSPrefix: 'cp-', // the standard prefix for (almost) all class declarations (HTML, CSS)
|
CSSPrefix: 'cp-', // the standard prefix for (almost) all class declarations (HTML, CSS)
|
||||||
size: 0, // one of the 4 sizes: 0 = L (large), 1 = S, 2 = XS, 3 = XXS; resize to see what happens...
|
size: 0, // one of the 4 sizes: 0 = XXS, 1 = XS, 2 = S, 3 = L (large); resize to see what happens...
|
||||||
allMixDetails: true, // see Colors...
|
allMixDetails: true, // see Colors...
|
||||||
alphaBG: 'w' // initial 3rd layer bgColor (w = white, c = custom (customBG), b = black);
|
alphaBG: 'w' // initial 3rd layer bgColor (w = white, c = custom (customBG), b = black);
|
||||||
customBG: '#808080' // see Colors...
|
customBG: '#808080' // see Colors...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user