feat: add vditor locally
This commit is contained in:
14
public/vditor/ts/hint/index.d.ts
vendored
Normal file
14
public/vditor/ts/hint/index.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/// <reference types="./types" />
|
||||
export declare class Hint {
|
||||
timeId: number;
|
||||
element: HTMLDivElement;
|
||||
recentLanguage: string;
|
||||
private splitChar;
|
||||
private lastIndex;
|
||||
constructor(hintExtends: IHintExtend[]);
|
||||
render(vditor: IVditor): void;
|
||||
genHTML(data: IHintData[], key: string, vditor: IVditor): void;
|
||||
fillEmoji: (element: HTMLElement, vditor: IVditor) => void;
|
||||
select(event: KeyboardEvent, vditor: IVditor): boolean;
|
||||
private getKey;
|
||||
}
|
||||
Reference in New Issue
Block a user