A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/joeattardi/emoji-button below:

joeattardi/picmo: JavaScript emoji picker. Any app, any framework.

Add a fully featured emoji picker to your app with a few lines of code!

Formerly known as Emoji Button.

Demos and full documentation, including the API and usage guide, is available at https://picmojs.com.

At a minimum, you need the core picker package. This gives you a picker that you can insert inline into an element on the page.

import { createPicker } from 'picmo';

// The picker must have a root element to insert itself into
const rootElement = document.querySelector('#pickerContainer');

// Create the picker
const picker = createPicker({ rootElement });

// The picker emits an event when an emoji is selected. Do with it as you will!
picker.addEventListener('emoji:select', event => {
  console.log('Emoji selected:', event.emoji);
});

PicMo is made up of three packages:

Thank you so much to everyone who has contributed code to PicMo!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4