Skip to content

Mehrdad-Dadkhah/ng-emoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ng-emoji

emojify directive.

**See the DEMO page.

Table of Content:

## Features

  • show/hide emoji panel
  • add emoji code to input

## Install

  • Manual: download latest from here
<script src="../src/emojify/src/emojify.js" type="text/javascript"></script>
<script src="../src/angular.min.js" type="text/javascript"></script>
<script src="../src/ngEmoji.js" type="text/javascript"></script>
<script src="./demoApp.js" type="text/javascript"></script>

## Usage

<h2>input</h2>
<input name="test" ng-model="test" value=""/>

<h2>emoji panel</h2>
<emoji input-name="test"></emoji>

and in js code:

$scope.$on('emji:addSuccess', function(event, emoji, inputName) {

    $scope[inputName] += ' ' + emoji;
    
});

About

An Angular directive for emojify complete panel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published