meteor-emoji-fork

0.1.8 • Public • Published

Forked Repo of Meteor-Emoji-Picker

This repo is a fork of the original Meteor-Emoji-Picker but now includes the outstanding pull requests that add ids to the emoji-picker box and the emoji-picker trigger to allow for selecting of these two new elements, and the code fix that makes sure emojis aren't inserted at the beginning of the textarea or input fields.

A Meteor compatible Emoji Picker

After trapsing through a tonne of emoji pickers for Meteor project. It became pretty apparent that most of them didn't work, or were just pretty terrible. This emoji picker is pure, vanilla JavaScript, so should be compatible with most JS projects. However, I've specifically built this for the intent to use with Meteor.

How do I use it?

This plugin can be installed via NPM:

npm install meteor-emoji-fork

Include the meteorEmoji.min.js file from the 'dist' folder in your project, and then use:

new MeteorEmoji();

Now you can add emoji pickers to your input fields! For a full width emoji picker, simply add the attribute data-meteor-emoji-large="true" to your field. This will create an always open, full width emoji picker below the desired input box.

If you want the classic "press a button to open" style picker, just use data-meteor-emoji="true" on an input field.

Package Sidebar

Install

npm i meteor-emoji-fork

Weekly Downloads

48

Version

0.1.8

License

MIT

Unpacked Size

82.4 kB

Total Files

9

Last publish

Collaborators

  • justin.blake.dev