linagora.esn.emoticon

1.10.5 • Public • Published

linagora.esn.emoticon

Adds Emoticon support into the OpenPaaS Enterprise Social Network. This module is part of https://open-paas.org/.

Usage: directive

The esn-emoticon directive replaces a text emoticon with an image.

<esn-emoticon emoticon='smiley'></esn-emoticon>

will be transformed to:

<img class="esn-emoticon-image" src="...emoticon path.../smiley.png" title='smiley'>

usage: filter

the esnEmoticonify filter will transform the emoticon "tags", such as 😃, to image tags.

<div ng-bind-html="message.text | esnEmoticonify:{class: 'emoji'}"></div>

This filter takes an argument (if present), that is the additional properties to put in the img tag.

Readme

Keywords

none

Package Sidebar

Install

npm i linagora.esn.emoticon

Weekly Downloads

2

Version

1.10.5

License

AGPLv3

Unpacked Size

1.39 MB

Total Files

1673

Last publish

Collaborators

  • odint
  • linagora_ci