2
0
mirror of https://github.com/PitPik/tinyColorPicker synced 2025-07-05 09:04:29 -06:00

Update README.md

This commit is contained in:
Peter Dematté 2015-02-11 21:24:20 +01:00
parent f27beff860
commit e48bc30d83

View File

@ -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)
});
```