2
0
mirror of https://github.com/PitPik/tinyColorPicker synced 2025-08-13 12:12:45 -06:00

Update README.md

This commit is contained in:
Peter Dematté 2015-11-13 22:25:09 +01:00
parent 6a3b244bb7
commit a9d874f641

View File

@ -59,7 +59,8 @@ renderCallback: function($elm, toggled) {
}
}
```
Here you can fire events if necessary or check for a className or data attribute on $elm to see if there is a hint for hiding the opacity slider: ```this.$UI.find('.cp-alpha').toggle(!$elm.hasClass('no-alpha'));```
Here you can fire events if necessary or check for a className or data attribute on $elm to see if there is a hint for hiding the opacity slider:
```this.$UI.find('.cp-alpha').toggle(!$elm.hasClass('no-alpha'));```
##colors.js