0.0.20 • Published 3 years ago

emoji-picker-lib v0.0.20

Weekly downloads
-
License
-
Repository
-
Last release
3 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

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago