🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

linagora.esn.emoticon

Package Overview
Dependencies
Maintainers
2
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linagora.esn.emoticon

Emoticon support for the ESN

latest
npmnpm
Version
1.10.5
Version published
Maintainers
2
Created
Source

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 :smiley:, 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.

FAQs

Package last updated on 10 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts