1.0.0 • Published 8 years ago

angular-emojione-npm v1.0.0

Weekly downloads
3
License
-
Repository
-
Last release
8 years ago

angular-emojione

Directive and Filter to easily integrate emojione emojis into your AngularJS app.


Install

Install via bower

bower install angular-emojione

Add the module as dependency to your app module

'angular-emojione'

Usages

Both directive and filter use .toImage to render a String into an HTML element.

You can use the filter with

<p ng-bind-html="'Hello :smile:'|emojione"></p>
<p ng-bind-html="content | emojione"></p>

Use the directive with

<p emojione="{{content}}"></p>
<p emojione="Hello :smile:"></p>
<p emojione>Hello :smile:</p>

Development

Although this work is pretty basic, all contributions and discussions are welcome. Open an issue / a pull request.


I would like to thank everyone at emojione for helping us render emojis so easily :)