Skip to content

v-moji (Weemoji) makes it easy to show emojis in your vue components

Notifications You must be signed in to change notification settings

nkoehring/v-moji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 safety. 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!

About

v-moji (Weemoji) makes it easy to show emojis in your vue components

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published