1 # FG Emoji Picker - Emoji picker created with vanilla javascript
2 This is the simplest to use emoji picker built with vanilla javascript.
4 ![](./screenshot.png "Vanilla Javascript Emoji Picker")
8 - It is only one .js file without css or other files
9 - There is no jQuery or other libraries
11 - Multiple textareas and triggers
12 - Draggable emoji picker container
16 Initialze plugin with ```new EmojiPicker({});```
20 - Trigger - must be an array of objects. Inside object there are two properties. First is selector, and second - **insertInto** method to define where emoji going to be inserted. If there are multiple 'textarea's - you can provide array of selectors as well. Watch example below.
21 - Close button - **closeButton** method can be true of false depending on whether you want close button on emoji picker or not.
22 - specialButtons - takes color code to change special (move and close) button colors.
28 selector: '.first-btn',
29 insertInto: ['.one', '.two'] // If there is only one '.selector', than it can be used without array
32 selector: '.second-btn',
37 specialButtons: 'green' // #008000, rgba(0, 128, 0);