jodit-pro
Version:
PRO Version of Jodit Editor
32 lines (31 loc) • 1.17 kB
TypeScript
/*!
* 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 { IJodit } from "jodit/esm/types/index";
import "./config";
import { Plugin } from "jodit/esm/core/plugin/index";
import type { AutoCompleteSource, IAutoCompleteCustomFeed, IAutoCompleteItem } from "./interface";
export declare class autocomplete extends Plugin {
/** @override */
static requires: string[];
/** @override */
hasStyle: boolean;
private get list();
private get popup();
private sources;
/** @override */
protected afterInit(jodit: IJodit): void;
private registerAutocompleteSource;
private unregisterAutocompleteSource;
private static isControlKey;
private onKeyDown;
private onKeyControlDown;
private onEnter;
private onAutoComplete;
resolveFeed(query: string, feed: AutoCompleteSource, baseSource?: IAutoCompleteCustomFeed): Promise<IAutoCompleteItem[]>;
private openPopup;
/** @override */
protected beforeDestruct(jodit: IJodit): void;
}