v-moji

0.0.1 • Public • Published

v-moji

v-moji (speak 'weemoji') integrates the fantastic emojione as a Vuejs directive.

Usage

  <div v-moji>Made with :heart: :wink: and Vuejs</div>
  <div v-moji.ascii>Emojis:</b> Made with :heart: ;D and Vuejs</div>
  <div v-moji:unicode.ascii>Made with :heart: ;D and Vuejs</div>
  <div v-moji:ascii>Made with :heart: :wink: and Vuejs</div>

By default shortcodes are translated into images without the support for ASCII emojis (eg :D ). It is disabled by default for savety. To enable support for ASCII emojis, use the ascii argument (separated by a dot: v-moji.ascii).

Output mode is image by default. Other supported modes are unicode and ascii. You can set them as modifier (separated by a colon, eg v-mode:unicode)

EmojiOne License

Emojis from EmojiOne are free to use under certain circumstances. Please read their license section!

/v-moji/

    Package Sidebar

    Install

    npm i v-moji

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    2.53 MB

    Total Files

    8

    Last publish

    Collaborators

    • koehr