mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-03 03:17:54 +01:00
allow autocomplete on input element (jsdoc)
This commit is contained in:
parent
dce4d0c23e
commit
1ab11cf85f
@ -17,7 +17,7 @@ export const AUTOCOMPLETE_WIDTH = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export class AutoComplete {
|
export class AutoComplete {
|
||||||
/**@type {HTMLTextAreaElement}*/ textarea;
|
/**@type {HTMLTextAreaElement|HTMLInputElement}*/ textarea;
|
||||||
/**@type {boolean}*/ isFloating = false;
|
/**@type {boolean}*/ isFloating = false;
|
||||||
/**@type {()=>boolean}*/ checkIfActivate;
|
/**@type {()=>boolean}*/ checkIfActivate;
|
||||||
/**@type {(text:string, index:number) => Promise<AutoCompleteNameResult>}*/ getNameAt;
|
/**@type {(text:string, index:number) => Promise<AutoCompleteNameResult>}*/ getNameAt;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user