Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-emoji

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-emoji

An Ember addon providing EmojiOne components & helpers

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

ember-emoji

The goal of ember-emoji is to provide applications with a complete set of components & helpers to include emojis in their project, courtesy of EmojiOne.

Demo:

Requirements

  • Ember.js 2.12+
  • Node.js 6.10+

Installation

Run the following command:

$ ember install ember-emoji

And thats it!

Usage

emoji-picker

A component that displays an emoji picker. Emojis are separated into different categories. You can provide an action to handle a user selecting an emoji.

Usage
{{emoji-picker selectEmoji=(action "selectEmoji")}}

emoji-icon

A component to render any emoji from any emoji shortcode. You can provide an action to handle the user selecting the emoji.

Usage
{{emoji-icon emoji=":grinning:" selectEmoji=(action "selectEmoji")

emoji-parse

A template helper that parses given text with emoji shortcodes (and optional ascii) and returns a string with EmojiOne images substituted in.

Usage
{{emoji-parse "Hello! :grinning:"}}

You can also import the helper and use it inside of your Javascript:

import { emojiParse } from 'ember-emoji/helpers/emoji-parse';

let str = emojiParse(["content"]);

Support

Encountered a bug or thought of a feature? Please file it! I will do my best to triage the ticket and support you as I can.

License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 24 Aug 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc