Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng-emoji-picker-unicode

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-emoji-picker-unicode

emoji picker plugin

  • 0.0.5
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

EmojiPicker

This library was generated with Angular CLI version 13.3.0.

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

Attributes

AttributesDescription
@Input()
customClass: string
You can add custom class to customize plugin
@Input()
btnIcon: string
You can add custom icon to button, from where emoji picker will open
default icon -
@Input()
searchIcon: string
You can add custom search icon to search input
default icon -
@Input()
emojisPerRow: string
You can add number to indicate how many emojis will be in one row
defatuls is 9
@Output()
selectEmojiEvent: EventEmitter< string >()
Event will be fired when emoji selected

Example and Sample Code

  1. Import 'EmojiPickerModule' in your app module
import { EmojiPickerModule } from "emoji-picker";
  
@NgModule({
  imports:[
    ..
    EmojiPickerModule
    ..
  ]
})
  1. Add 'emoji-picker' in your component html
<lib-emoji-picker   [data]="emojiData"
                    [customClass]="'customClass'"
                    [emojisPerRow]="7"
                    [btnIcon]="'fas fa-smile'"
                    [searchIcon]="'fas fa-search'"
                    (selectEmojiEvent)="selectEmoji($event)"></lib-emoji-picker>
  1. Add a method in your component class to listen for selectEmojiEvent event
selectEmoji(emoji: string): void {
  console.log(emoji);
}

FAQs

Package last updated on 29 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc