JavaScript 的 Emoji 转换库 js-emoji

码农软件 · 软件分类 · Emoji 表情相关 · 2019-10-13 22:58:49

软件介绍

js-emoji 可以让你在浏览器上显示 Emoji 表情,使用方法:

<link href="emoji.css" rel="stylesheet" type="text/css" />
<script src="emoji.js" type="text/javascript"></script>
<script type="text/javascript">

// replaces \u{1F604} with platform appropriate content
var output1 = emoji.replace_unified(input);

// replaces 😄 with platform appropriate content
var output2 = emoji.replace_colons(input);

// force text output mode
emoji.text_mode = true;

// show the short-name as a `title` attribute for css/img emoji
emoji.include_title = true;

// change the path to your emoji images (requires trailing slash)
// you can grab the images from here:
// https://github.com/github/gemoji/tree/master/images/emoji/unicode
emoji.img_path = "http://my-cdn.com/images/emoji/";

// find out the auto-detected mode
alert(emoji.replace_mode);

</script>

在线演示:http://unicodey.com/js-emoji/demo.htm

本文地址:https://codercto.com/soft/d/16704.html

Spring Boot实战

Spring Boot实战

[美]克雷格·沃斯 / 丁雪丰 / 人民邮电出版社 / 2016-9 / 59.00元

本书以Spring应用程序开发为中心,全面讲解如何运用Spring Boot提高效率,使应用程序的开发和管理更加轻松有趣。作者行文亲切流畅,以大量示例讲解了Spring Boot在各类情境中的应用,内容涵盖起步依赖、Spring Boot CLI、Groovy、Grails、Actuator。对于Spring Boot开发应用中较为繁琐的内容,附录奉上整理完毕的表格,一目了然,方便读者查阅。一起来看看 《Spring Boot实战》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

SHA 加密
SHA 加密

SHA 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具