EmojiPickerBehaviorsConfig
EmojiPickerBehaviorsConfig<
TEmojiMatch
>:object
Defined in: behaviors/behavior.emoji-picker.ts:13
Type Parameters
• TEmojiMatch
Type declaration
matchEmojis()
matchEmojis: (
{keyword}
) =>TEmojiMatch
[]
Match emojis by keyword.
Parameters
{keyword}
keyword
string
Returns
TEmojiMatch
[]
onMatchesChanged()
onMatchesChanged: (
{matches}
) =>void
Parameters
{matches}
matches
TEmojiMatch
[]
Returns
void
onSelectedIndexChanged()
onSelectedIndexChanged: (
{selectedIndex}
) =>void
Parameters
{selectedIndex}
selectedIndex
number
Returns
void
parseMatch()
parseMatch: (
{match}
) =>string
|undefined
Parse an emoji match to a string that will be inserted into the editor.
Parameters
{match}
match
TEmojiMatch
Returns
string
| undefined