{"id":13989737,"url":"https://github.com/needim/wdt-emoji-bundle","last_synced_at":"2025-04-04T07:08:22.567Z","repository":{"id":58246228,"uuid":"50636998","full_name":"needim/wdt-emoji-bundle","owner":"needim","description":"Slack like emoji picker with apple/ios, twitter/twemoji, google, emojione, facebook, messenger emoji support","archived":false,"fork":false,"pushed_at":"2019-09-10T09:27:17.000Z","size":26324,"stargazers_count":419,"open_issues_count":29,"forks_count":86,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-10-14T12:17:55.877Z","etag":null,"topics":["apple","emoji","emoji-picker","emojione","facebook","ios","messenger","picker-emoji","slack","twemoji","twitter","wdt-emoji-bundle"],"latest_commit_sha":null,"homepage":"http://ned.im/wdt-emoji-bundle","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/needim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-29T04:19:12.000Z","updated_at":"2023-12-28T17:32:38.000Z","dependencies_parsed_at":"2022-08-31T00:21:35.027Z","dependency_job_id":null,"html_url":"https://github.com/needim/wdt-emoji-bundle","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/needim%2Fwdt-emoji-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/needim%2Fwdt-emoji-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/needim%2Fwdt-emoji-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/needim%2Fwdt-emoji-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/needim","download_url":"https://codeload.github.com/needim/wdt-emoji-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135144,"owners_count":20889421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apple","emoji","emoji-picker","emojione","facebook","ios","messenger","picker-emoji","slack","twemoji","twitter","wdt-emoji-bundle"],"created_at":"2024-08-09T13:02:01.235Z","updated_at":"2025-04-04T07:08:22.543Z","avatar_url":"https://github.com/needim.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# wdt-emoji-bundle\n\nSlack like emoji selector with apple/ios, twitter/twemoji, google, emojione, facebook, messenger and custom emoji support. I :heart: opensource.\n\nThanks to Cal Henderson @iamcal.\n\n# Demo\n\n![wdt-emoji-bundle gif](https://raw.githubusercontent.com/needim/wdt-emoji-bundle/master/wdt-emoji-bundle.gif \"wdt-emoji-bundle gif\")\n\n# Installation\n\nUse one of the following:\n* npm `npm i wdt-emoji-bundle`\n* bower `bower i wdt-emoji-bundle`\n* pull in the source directly, load `wdt-emoji-bundle.min.js`, `wdt-emoji-bundle.css` and the `sheets/` directory\n\n## Initialize\n\n```javascript\nwdtEmojiBundle.init('.your-inputs-selector');\n```\n\n### Advanced configuration\n\nTell the widget where to get the sheets from\n\n```javascript\nwdtEmojiBundle.defaults.emojiSheets.apple = './sheet_apple.png';        // default /sheets/sheet_apple_64.png\nwdtEmojiBundle.defaults.emojiSheets.google = './sheet_google.png';      // default /sheets/sheet_google_64.png\nwdtEmojiBundle.defaults.emojiSheets.twitter = './sheet_twitter.png';    // default /sheets/sheet_twitter_64.png\nwdtEmojiBundle.defaults.emojiSheets.emojione = './sheet_emojione.png';  // default /sheets/sheet_emojione_64.png\nwdtEmojiBundle.defaults.emojiSheets.facebook = './sheet_facebook.png';  // default /sheets/sheet_facebook_64.png\nwdtEmojiBundle.defaults.emojiSheets.messenger = './sheet_messenger.png';  // default /sheets/sheet_messenger_64.png\n```\n\n===\n\nSet emoji set default sheet (this has to be done before the init)\n\n```javascript\nwdtEmojiBundle.defaults.emojiType = 'apple';\n```\n\notherwise use\n\n```javascript\nwdtEmojiBundle.changeType(emojiType);\n```\n\n===\n\nHover color classes for picker's emoji's\n\n```javascript\nwdtEmojiBundle.defaults.pickerColors = [\n  'green', 'pink', 'yellow', 'blue', 'gray'\n];\n```\n===\n\nPicker tab section's orders, higher is first. Bundle render the sections according to this values.\n\n```\nwdtEmojiBundle.defaults.sectionOrders = { \n  'Recent'  : 10, \n  'Custom'  : 9, \n  'People'  : 8, \n  'Nature'  : 7, \n  'Foods'   : 6, \n  'Activity': 5, \n  'Places'  : 4, \n  'Objects' : 3, \n  'Symbols' : 2, \n  'Flags'   : 1\n};\n```\n\n### API\n\nRender function takes any html string and convert to emojies based on the current bundle emoji type. (apple, google, twitter, emojione)\n\n```javascript\nvar output = wdtEmojiBundle.render('Lorem ipsum :) :speak_no_evil:');\n```\n\n===\n\nEvent listeners: 'select', 'afterSelect', 'afterPickerOpen'\n\n```javascript\nwdtEmojiBundle.on('afterSelect', function (event) {\n  console.log('element', event.el);\n  console.log('emoji', event.emoji);\n})\n```\n\n===\n\nAuto open the emoji picker when the user types the colon key `:` in the input:\n\n* Add class '.wdt-emoji-open-on-colon' to the input field that is going to have the emoji picker \n\n# TODO:\n\n- Better documentation :)\n- Responsive Improvements.\n- Better popup positioning.\n- Open on colon support for contenteditables.\n- Frequently used emoji list with localstorage and/or API.\n- Provide more events; open, close, pickeropen, pickerclose etc.\n- Custom emoji support.\n- Skin color support for apple icons.\n- Better contenteditable support, WYSIWYG?\n- Check browser compatibilities.\n\n---\n\n\u003chttp://ned.im/wdt-emoji-bundle\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneedim%2Fwdt-emoji-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneedim%2Fwdt-emoji-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneedim%2Fwdt-emoji-bundle/lists"}