Skip to content

πŸ€– πŸ›₯ πŸ˜€ πŸ‘πŸ» 🀘🏻 module for OpenPaaS

Notifications You must be signed in to change notification settings

openpaas-ng/linagora.esn.emoticon

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

68 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.

About

πŸ€– πŸ›₯ πŸ˜€ πŸ‘πŸ» 🀘🏻 module for OpenPaaS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.1%
  • HTML 2.4%
  • CSS 1.5%