Needle-Pinpointing Machine

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

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

    Install

    npm i picmo

    Homepage

    picmojs.com

    DownloadsWeekly Downloads

    9,470

    Version

    5.7.2

    License

    MIT

    Unpacked Size

    258 kB

    Total Files

    73

    Last publish

    Collaborators

    • joeattardi