Backports native emoji characters to browsers that don't support them by replacing the characters with fallback images.
MIT License
Bot releases are visible (Hide)
Full Changelog: https://github.com/github/g-emoji-element/compare/v1.1.6...v1.2.0
Published by koddsson over 2 years ago
Full Changelog: https://github.com/github/g-emoji-element/compare/v1.1.5...v1.1.6
Published by muan over 4 years ago
onLinux
checkPublished by muan over 4 years ago
fallback-src
isn't present.https://github.com/github/g-emoji-element/compare/v1.1.2...v1.1.3
Published by dgraham almost 5 years ago
Published by dgraham almost 5 years ago
https://github.com/github/g-emoji-element/compare/v1.0.5...v1.0.6
https://github.com/github/g-emoji-element/compare/v1.0.4...v1.0.5
Published by koddsson about 5 years ago
Backports native emoji characters to browsers that don't support them by replacing the characters with fallback images.
$ npm install @github/g-emoji-element
import '@github/g-emoji-element'
<g-emoji fallback-src="t-rex.png" alias="T-Rex">🦖</g-emoji>
If a browser supports emoji, nothing happens. If a browser does not support emoji, a fallback image tag is created:
<g-emoji fallback-src="t-rex.png" alias="T-Rex">
<img class="emoji" alt="T-Rex" height="20" width="20" src="t-rex.png">
</g-emoji>
Browsers without native custom element support require a polyfill.
npm install
npm test
Distributed under the MIT license. See LICENSE for details.
https://github.com/github/g-emoji-element/compare/v1.0.3...v1.0.4
https://github.com/github/g-emoji-element/compare/v1.0.2...v1.0.3
npm update
fed317dhttps://github.com/github/g-emoji-element/compare/v1.0.1...v1.0.2
https://github.com/github/g-emoji-element/compare/v1.0.0...v1.0.1