1.1.1 • Published 2 years ago

vue3-picker-emoji v1.1.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

vue3-picker-emoji


A new emoji / gif picker for your app !

This components is available only in vue3.

🚧 Rework in typescript and composition-api soon.

Install

npm install vue3-picker-emoji

Global

import Vue from 'vue'
import PickerEmoki from 'vue3-picker-emoji'

Vue.use(PickerEmoki, /* { default options with global component } */)

Local registration

import PickerEmoki from 'vue3-picker-emoji'

export default {
  components: {
    PickerEmoki
  }
}

Props

NameTypeDefaultDescription
inputBooleanfalseLoad input w/ autocomplete
valueString, Numbernullv-model to input value
categoriesArraytrueDisplay the mask on first load
gifFormatStringReturn gif link with markdown format or html format (default: nothing)
apiKeyStringAPI_KEY tenor.com (free, register here: https://tenor.com/gifapi) (if no key: gif not appear)
showUploadBooleanDisplay upload icon at left (with emit method)
showEmojiBooleanDisplay emoji icon
sourcesObjectSet new source url for all image

Sources props

"search": String "gif": String "emoji": String "category": String (add %REPLACE% in your URL to change with slug, example: /categories/%REPLACE%.svg transform into /categories/animals.svg) "variation":String(same at category, example:/variations/variation_%REPLACE%.svgtransform into/variations/variation_0.svg` (0 - 4))

Categories

All categories list: ['people', 'animals', 'foods', 'travel', 'activities', 'objects', 'symbols', 'flags']

1.1.1

2 years ago

1.1.0

2 years ago