This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

picmo
TypeScript icon, indicating that this package has built-in type declarations

5.8.5 • Public • Published

picmo

Main package for the PicMo library. You'll need this if you want an emoji picker!

Installation

npm install picmo

Basic usage

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);
});

Dependents (8)

Package Sidebar

Install

npm i picmo

Homepage

picmojs.com

Weekly Downloads

10,556

Version

5.8.5

License

MIT

Unpacked Size

766 kB

Total Files

83

Last publish

Collaborators

  • joeattardi