Skip to main content
Version: v4

Emoji Keyboard

Overview

This element is CometChat's very own emoji picker with native emoji support.

Properties

NameTypeDescription
emojiDataArrayJSON array of emojis grouped along with the category
emojiKeyboardStyleEmojiKeyboardStyleStyling properties and values of the element

Events

Events dispatched from the element

NameDescription
cc-emoji-clickedEvent triggered when user clicks on a particular emoji from the keyboard

EmojiKeyboardStyle

Styling properties and values of the element

NameDescription
widthSets the width of the element
heightSets the height of the element
borderSets the border of the element
borderRadiusSets the border radius of the element
backgroundSets all background style properties at once, such as color, image, origin and size, or repeat method. Reference link
textFontSets all the different properties of font for the category name. Reference link
textColorSets the foreground color of category name.
iconTintSets the tint or color applied to the category icon.
activeIconTintSets the tint or color applied to the currently active category icon.

Usage

<cometchat-emoji-keyboard
[emojiKeyboardStyle]="emojiKeyboardStyle"
></cometchat-emoji-keyboard>