Helper: admin/util/twemoji

« All helpers

Adds twemoji character support to a web page.

Usage:

1. Load this handler either in your handler

$this->run ('admin/util/twemoji');

Or:

 $this->run ('admin/util/twemoji?body=true');

Or anywhere in your view:

 {! admin/util/twemoji !}

Or:

 {! admin/util/twemoji?body=true !}

2. Use the emojiOne library:

twemoji.parse (some_string);

For more usage info, visit:

https://github.com/twitter/twemoji