|
|
|
@ -41,7 +41,7 @@ $('.color').colorPicker({
|
|
|
|
|
margin: '', // positioning margin (can also be set in cssAddon)
|
|
|
|
|
scrollResize: true // toggle for reposition colorPicker on window.resize/scroll
|
|
|
|
|
gap: 4 // gap to right and bottom edge of view port if repositioned to fit
|
|
|
|
|
preventFocus: false // prevents default on focus of input fields,
|
|
|
|
|
preventFocus: false // prevents default on focus of input fields (e.g. no keyboard on mobile)
|
|
|
|
|
body: document.body // the element where the events are attached to (touchstart, mousedown, pointerdown, focus, click, change)
|
|
|
|
|
});
|
|
|
|
|
```
|
|
|
|
|