2
0
mirror of https://github.com/PitPik/colorPicker.git synced 2025-07-23 09:54:30 -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:
Peter Dematté 2016-05-31 14:31:17 +02:00
commit 41d780c31f

View File

@ -74,7 +74,7 @@ var myColorPicker = new ColorPicker({
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
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...
alphaBG: 'w' // initial 3rd layer bgColor (w = white, c = custom (customBG), b = black);
customBG: '#808080' // see Colors...