mirror of
https://github.com/PitPik/tinyColorPicker
synced 2025-08-13 12:12:45 -06:00
Update README.md
This commit is contained in:
parent
a9d874f641
commit
9a0677eabf
@ -60,7 +60,9 @@ 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'));```
|
||||
```javascript
|
||||
this.$UI.find('.cp-alpha').toggle(!$elm.hasClass('no-alpha'));
|
||||
```
|
||||
|
||||
##colors.js
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user