{"repo":"github/g-emoji-element","free":true,"listed":false,"github":"https://github.com/github/g-emoji-element","clone":"git clone https://github.com/github/g-emoji-element.git","description":"Backports native emoji characters to browsers that don't support them by replacing the characters with fallback images.","language":"JavaScript","stars":144,"topics":["web-components","custom-elements","emoji"],"license":"MIT","category":"ui-components","readme_excerpt":"&lt;g-emoji&gt; element Backports native emoji characters to browsers that don't support them by replacing the characters with fallback images. Installation Usage If a browser supports emoji, nothing happens. If a browser does not support emoji, a fallback image tag is created: Skin tones The tone attribute renders the emoji with a [skin tone modifier][scale] between 1-5. Use 0 to display the default tone. [scale]: https://en.wikipedia.org/wiki/Fitzpatrick scale The tone attribute accepts a space separated list of skin tone modifiers to apply to each base emoji in a sequence. Some platforms will display these sequences as a single glyph while others will render each emoji in the sequence. Browser support Browsers without native [custom element support][support] require a [polyfill][]. - Chrome - Firefox - Safari - Microsoft Edge [support]: https://caniuse.com/#feat=custom-elementsv1 [polyfill]: https://github.com/webcomponents/custom-elements Development License Distributed under the MIT license. See LICENSE for details.","default_branch":null,"files":null,"tree":[],"storefront":"/r/github","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/github/g-emoji-element/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}