mx-ui-components
Version:
mobius ui library
28 lines (27 loc) • 916 B
TypeScript
import InputBaseComponent from "../InputBaseComponent/InputBaseComponent";
declare class CustomSearchBox extends InputBaseComponent {
private list;
protected suggestionsPath: string;
protected tableName: string;
protected accessToken: string;
protected filterOn: string;
protected filterValue: string;
protected apiUrl: string;
constructor();
static get observedAttributes(): string[];
addErrorMessage(): void;
protected setupBindings(): void;
connectedCallback(): void;
callSearch(): void;
onInput(input: Element, e: any): void;
onBlur(input: HTMLInputElement): void;
updateSearchValue(item: string): void;
callAPI(): void;
removeSuggestions(): void;
moveCursorToEnd(element: HTMLInputElement): void;
showLoading(): void;
clearLoading(): void;
appendList(): Promise<void>;
render(): void;
}
export default CustomSearchBox;