Blazing fast emoji panel (3ms creation)
Create an emoji panel by one line, no akward dependencies, no frameworks using the data from emoji-data.
Install the package either by using
npm install emoji-panel or
bower install emoji-panel.
- for npm users you need to import first -
// es5var EmojiPanel = ;// es6;
|element||Object (node element)||⭕️||Node element to create the panel into (preferbly a block)|
|options||Object||❌||Some added options that can be passed at creation|
|onClick||Function||Callback of clicking an emoji, will return object with
|animationDuration||Number||300||Duration in ms of the animation between categories|
Clone the repo
npm startfor development server, serving on
All changes will trigger hot reload, though absurd files will not and you will need to stop and start the server
After making a few commits you can deploy and make sure you don't have any uncommited changes beforehand -
npm run deploywhich does -
lib(for npm) and
dist(for bower) folders.
npm run patch).
- Commits these changes
- Create a git tag
- Merge to
gh-pagesbranch (demo site)
- push tags
- npm publish (bower publishes or git changes)
- push changes
If you want to bump not by patch, you can set enviroment variable BUMP like so -
BUMP=major npm run deploy. read more about npm version here