vue-autocomplete-plugin
Version:
A simple, powerful, lightweight and customizable autocomplete tool programmed for Vue projects!
68 lines (67 loc) • 2.13 kB
TypeScript
interface Iprops {
objectProperty?: string;
filteredData: any;
onSelect: Function;
disableListFn?: Function;
disableProperty?: string;
customClass?: CustomClassType;
customStyle?: CustomStyleType;
isOnFocus: boolean;
showLoadingSpinner?: boolean;
noSearchResultMessage?: string;
aria?: CustomAriaType;
isCustomSpinner?: boolean;
onViewMore: Function;
viewMoreText: string;
optViewMoreOnlyForApiCall?: boolean;
isEventEmitted?: boolean;
showSpinner?: boolean;
isApiLoad?: boolean;
displayViewMoreButton?: boolean;
viewMoreRef: any;
}
export type CustomClassType = {
parentContainerClass?: string;
inputFieldClass?: string;
listContainerClass?: string;
dropdownUnorderedListClass?: string;
dropdownListClass?: string;
noResultClass?: string;
disableListClass?: string;
inputLabelContainerClass?: string;
inputLabelClass?: string;
customSpinnerClass?: string;
viewMoreClass?: string;
};
export type CustomStyleType = {
parentContainerStyle?: any;
inputFieldStyle?: any;
listContainerStyle?: any;
dropdownUnorderedListStyle?: any;
dropdownListStyle?: any;
noResultStyle?: any;
inputLabelContainerStyle?: any;
inputLabelStyle?: any;
viewMoreStyle?: any;
customSpinnerStyle?: any;
};
export type CustomAriaType = {
ariaRole?: string;
ariaRoleDescription?: string;
ariaNoSearchResult?: string;
ariaULList?: string;
ariaListContainer?: string;
ariaInputField?: string;
ariaInputLabel?: string;
ariaViewMore?: string;
};
declare const _default: import("vue").DefineComponent<Iprops, {
listElementsRef: import("vue").Ref<any[], any[]>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Iprops> & Readonly<{}>, {
onSelect: Function;
filteredData: any;
disableListFn: Function;
noSearchResultMessage: string;
isCustomSpinner: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;