needim / wdt-emoji-bundle

Slack like emoji picker with apple/ios, twitter/twemoji, google, emojione, facebook, messenger emoji support
http://ned.im/wdt-emoji-bundle
MIT License
419 stars 87 forks source link

How can I customize the icon used to trigger the emoji picker? #13

Open cyorobert opened 7 years ago

cyorobert commented 7 years ago

Does the API provide a way to change the icon used to trigger the emoji picker? If not, would you be interested in accepting a PR to add this functionality?

needim commented 7 years ago

Hi @cyorobert, Currently API doesn't support that but I'm always open to PRs.

There is the related function: https://github.com/needim/wdt-emoji-bundle/blob/master/wdt-emoji-bundle.js#L115

imerkle commented 7 years ago

I use a trick that is to hide the original icon and onclick of custom icon i trigger click that wdt icon. It works fine

cyorobert commented 7 years ago

I ended up doing that as well @dsslimshaddy