0.0.20 • Published 4 years ago

emoji-picker-lib v0.0.20

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

EmojiPicker

This library was generated with Angular CLI version 8.2.0.

See live demo here.

This library will help you to use Unicode emojis. There are 8 categories with 1525 emojis.

Attributes

AttributesDescription
@Input() emojiPickerOptions: IEmojiPickerOptionsYou can add options like btnIconsearchIconcustomClassemojisPerRowemojiPickerPositiondefaultCatalogId * All are optional
@Output() selectEmojiEvent: EventEmitter< string >()Event will be fired when emoji selected

Example and Sample Code

1) Import 'EmojiPickerLibModule' in your app module

import { EmojiPickerLibModule } from "emoji-picker-lib";
  
@NgModule({
  imports:[
    ..
    EmojiPickerLibModule
    ..
  ]
})

2) Add 'emoji-picker' in your component html

<emoji-picker   [emojiPickerOptions]="emojiPickerOptions"
                (selectEmojiEvent)="selectEmoji($event)"></emoji-picker>

3) Add a method in your component class to listen for selectEmojiEvent event

selectEmoji(emoji: string): void {
  console.log(emoji);
}

4) Add styles and assets folder in your angular.json

"styles": [
  ..
  "node_modules/emoji-picker-lib/lib/assets/sass/emoji-picker.scss"
  ..
]

AND

"assets": [
  ..
  {
    "glob": "**/*",
    "input": "node_modules/emoji-picker-lib/lib/assets",
    "output": "/assets/"
  }
  ..
]
0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago