We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f623fa8 commit 009db43Copy full SHA for 009db43
README.md
@@ -76,9 +76,10 @@ __Example:__
76
Subscribe to the `ab-color-found` event like so:
77
78
```javascript
79
-$('img.my-image').on('ab-color-found', function(payload){
+$('img.my-image').on('ab-color-found', function(ev,payload){
80
console.log(payload.color); // The dominant color in the image.
81
console.log(payload.palette); // The color palette found in the image.
82
+ console.log(ev); // The jQuery.Event object
83
});
84
```
85
0 commit comments