mistic100 / angular-smilies

AngularJS filter & directive for smilies parsing

Home Page:http://mistic100.github.io/angular-smilies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AngularJS Smilies filter & directive

Bower version

Documentation

http://mistic100.github.io/angular-smilies

Building

Uses Grunt to build the source.

npm install
grunt

The Grunt tasks are:

  • build CSS sprite
  • encode sprite in Base64
  • inject smilies configuration in JS file
  • inject base64 image in CSS file
  • minify CSS and JS files

You can easily change smilies by placing them in the src/smilies directory. Currently, only PNG files are supported.

The config.json file must be provided, it configure the smiley used for picker button (main parameter) and list of custom replacement (emojis parameter, can be empty).

About

AngularJS filter & directive for smilies parsing

http://mistic100.github.io/angular-smilies

License:MIT License


Languages

Language:JavaScript 62.1%Language:HTML 19.4%Language:CSS 18.4%