1.0.4 • Published 5 years ago

vutimoji v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Who am i?

I am a plugin that integrate twitter emoji library with VueJS 2.x. I made it because i can't found an up to date version on internet.

How to install ?

npm i vutimoji

Usage

import vutimoji from 'vutimoji'

Vue.use(vutimoji)
<template>
  <div v-html="outHtml"></div>
  <input type="text" v-model="text" @change="parseEmoji(text)" />
</template>
<script>
...
data(){
  return {
    text: 'I \u2764\uFE0F emoji!',
    outHtml: null
  }
},
methods:{
  parseEmoji: function (string) {    
    this.outHtml = this.$vutimoji.parse(string)
  }
}
...
</script>

Available options

No options is available now, request if you want

Demo

Please clone project and npm run dev and then run index.html in test folder

License

MIT

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago