UNPKG

jodit-pro

Version:

PRO Version of Jodit Editor

51 lines (50 loc) 1.43 kB
/*! * Jodit Editor PRO (https://xdsoft.net/jodit/) * See LICENSE.md in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/ */ import type { IDictionary, IJodit } from "jodit/esm/types/index"; import { UIElement } from "jodit/esm/core/ui/index"; import type { IEmoji, IEmojiList, IShortEmoji } from "../interface"; export declare class Emoji extends UIElement<IJodit> { /** @override */ className(): string; private input; private categories; private list; private data; /** * Recent emojis */ private recent; private map; get defaultList(): IEmojiList; /** * Reset default state */ reset(): void; private setItems; /** @override */ protected createContainer(options?: IDictionary): HTMLElement; /** @override */ constructor(jodit: IJodit); private activeIndex; private setActiveCategory; private generateCategoriesList; private cache; private generateEmojiList; private static isShortCat; static normalizeEmoji(emoji: IShortEmoji | IEmoji): IEmoji; private onInsertCode; /** * Scroll handler */ private onScrollList; private onClickCategory; private onClickItem; private onInputFilter; private clearFilter; protected onReady(): void; /** @override */ destruct(): any; }