emoji-picker icon indicating copy to clipboard operation
emoji-picker copied to clipboard

how do i use this package in laravel

Open mahdiahmadi73 opened this issue 7 years ago • 1 comments

hi , i have downloaded lib folder and put folder img ,css ,js in public folder , then i follow your guide for installation and in one input i write : data-emojiable="true" but nothing appear and even icon emojy-picker not appear near the textbox. how can i using emoji picker in laravel project

mahdiahmadi73 avatar Oct 28 '17 08:10 mahdiahmadi73

I found this code in demo index.html, may be it can help you.

$(function() { // Initializes and creates emoji set from sprite sheet window.emojiPicker = new EmojiPicker({ emojiable_selector: '[data-emojiable=true]', assetsPath: '../lib/img/', popupButtonClasses: 'fa fa-smile-o' }); // Finds all elements with emojiable_selector and converts them to rich emoji input fields // You may want to delay this step if you have dynamically created input fields that appear later in the loading process // It can be called as many times as necessary; previously converted input fields will not be converted again window.emojiPicker.discover(); });`

catdkny avatar Jan 29 '18 02:01 catdkny