georgemccann:meteor-emoji-picker

v0.1.73Published 7 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

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?

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

1new MeteorEmoji();

Now you can add emoji pickers to your input fields! For a full width emoji picker, simply add the attribute data-emoji-picker-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-emoji-picker="true" on an input field.