Skip to content

Commit

Permalink
First public version
Browse files Browse the repository at this point in the history
  • Loading branch information
DCzajkowski committed Mar 24, 2018
1 parent caef794 commit 5720cf5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,17 @@ As you may see, you have to declare some things yourself. Namely:
### CSS-styled example
To see what is possible with the component, you can simply have a look at a demo available [here](https://codepen.io/DCzajkowski/pen/jzLzWp).

---

### Available props
## Available props
- `search` _optional_ - If you are not using the search functionality, you can omit this one. It should be a model of the search passed from your `data`.
- `emojiTable` _optional_ - You can overwrite the [default](https://github.com/DCzajkowski/vue-emoji-picker/blob/master/src/emojis.js) emoji table by providing your own.

## Slots
- `emoji-invoker`
- `events` - delares the `v-on:click` toggle of the picker box,
- `emoji-picker`
- `emojis` - object of unicode emojis,
- `insert()` - method to be invoked when an emoji is clicked,
- `display` - object containting `x`, `y` and `visible` properties.

## License
This work is an open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-emoji-picker",
"description": "Simple Vue.js emoji picker with unicode characters",
"version": "0.0.3",
"version": "0.1.0",
"main": "dist-module/main.js",
"scripts": {
"prepublish": "npm run build && npm run browser-build",
Expand Down

0 comments on commit 5720cf5

Please sign in to comment.