npm.io
0.0.2 • Published 5 years ago

vue-input-emoji

Licence
MIT
Version
0.0.2
Deps
3
Size
35 kB
Vulns
1
Weekly
0
Stars
1

vue-input-emoji

A Vue.js 2.0 input emoji component

test

tips:It supports all chrome Emoji, but does not support picture Emoji. In lower version operating systems such as Windows 7 and lower version chrome, Emoji displays black and white

Installation

NPM / Yarn

npm install vue-input-emoji --save

Then you need to import and register it:

import InputEmoji from "vue-input-emoji";
components: {
  InputEmoji;
}

Usage

<InputEmoji v-model="defaultValue" :emojiData="emojiData" />

You can use the custom Emoji page data 'emojidata' or import the Emoji JSON file like example