AngularJS Emoji Filter
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/globaldev/angular-emoji-filter
- 软件文档: https://github.com/globaldev/angular-emoji-filter
软件介绍
AngularJS Emoji Filter 是 AngularJS 的过滤器,用来替换 emoji 表情代码为实际的表情图片。
使用方法:
<html> <head> <meta charset="utf-8"> <link rel="stylesheet" href="emoji.min.css"> <script src="angular.min.js"></script> <script src="emoji.min.js"></script> </head> <body ng-app="app" ng-controller="AppCtrl"> <ul> <li ng-repeat="message in messages" ng-bind-html-unsafe="message | emoji"></li> </ul> </body> </html>
JavaScript 代码:
angular.module("app", ["emoji"]).controller("AppCtrl", function ($scope) {
$scope.messages = [
"Animals: 🐶 🐱 🐍",
"People: 😄 😕 😠",
"Places: 🏠 🏫 🏨"
];
});
Developing Large Web Applications
Kyle Loudon / Yahoo Press / 2010-3-15 / USD 34.99
As web applications grow, so do the challenges. These applications need to live up to demanding performance requirements, and be reliable around the clock every day of the year. And they need to withs......一起来看看 《Developing Large Web Applications》 这本书的介绍吧!
