vue-bulma-emoji
v0.0.2
Published
Emoji component is based on emojione.com for Vue Bulma
Downloads
338
Maintainers
Readme
Emoji
Emoji is based on emojione for Vue bulma.
Installation
$ npm install vue-bulma-emoji --save
Examples
<template>
<div>
<p>{{ 'Hello world! 😄 :smile:' | emoji }}</p>
<p>{{ 'Hello world! 😄' | emoji('toShort') }}</p>
<p>{{ 'Hello world! :smile:' | emoji('shortnameToImage') }}</p>
<p>{{ 'Hello world! 😄' | emoji('unicodeToImage') }}</p>
<emoji-icon class="e1a-smile"></emoji-icon>
</div>
</template>
<script>
import Vue from 'vue'
import { EmojiIcon, filter } from 'vue-bulma-emoji'
Vue.use(filter)
export default {
components: {
EmojiIcon
}
}
</script>
Badges