mirror of
https://github.com/PitPik/tinyColorPicker
synced 2025-07-06 01:24:29 -06:00
Update README.md
This commit is contained in:
parent
f27beff860
commit
e48bc30d83
@ -41,7 +41,7 @@ $('.color').colorPicker({
|
|||||||
margin: '', // positioning margin (can also be set in cssAddon)
|
margin: '', // positioning margin (can also be set in cssAddon)
|
||||||
scrollResize: true // toggle for reposition colorPicker on window.resize/scroll
|
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
|
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)
|
body: document.body // the element where the events are attached to (touchstart, mousedown, pointerdown, focus, click, change)
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user