1.2.0 • Published 1 year ago

dxt-vue3-emojipicker v1.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

vue3-discord-picker


VueJS TailwindCSS

A new emoji / gif picker for your app ! Based on discord.

This components is available only in vue3.

🚧 Rework in typescript and composition-api soon.

Example

Install

npm i dxt-vue3-emojipicker

Global

import Vue from 'vue'
import DiscordPicker from 'vue3-discordpicker'

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

Local registration

import DiscordPicker from 'vue3-discordpicker'

export default {
  components: {
    DiscordPicker
  }
}

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: https://en-zo.dev/vue-discord-emojipicker/categories/%REPLACE%.svg transform into https://en-zo.dev/vue-discord-emojipicker/categories/animals.svg`) "variation": String (same at category, example: https://raw.githubusercontent.com/dexterpedro/vue3-emojipicker/master/public/imgs/variation_%REPLACE%.svg transform into https://raw.githubusercontent.com/dexterpedro/vue3-emojipicker/master/public/imgs/variation_0.svg (0 - 4))

Categories

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

1.2.0

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago