diff --git a/src/components/autocomplete/AutoComplete.d.ts b/src/components/autocomplete/AutoComplete.d.ts new file mode 100644 index 000000000..ccbaccffc --- /dev/null +++ b/src/components/autocomplete/AutoComplete.d.ts @@ -0,0 +1,24 @@ +import Vue, { VNode } from 'vue'; + +export declare class AutoComplete extends Vue { + value?: any; + suggestions?: any[]; + field?: string; + scrollHeight?: string; + dropdown?: boolean; + dropdownMode?: string; + multiple?: boolean; + minLength?: number; + delay?: number; + $emit(eventName: "input", value: any): this; + $emit(eventName: "select", e: {originalEvent: Event, value: any}): this; + $emit(eventName: "unselect", e: {originalEvent: Event, value: any}): this; + $emit(eventName: "dropdown-click", e: {originalEvent: Event, query: string}): this; + $emit(eventName: "complete", e: {originalEvent: Event, query: string}): this; + $emit(eventName: "clear"): this; + $emit(eventName: "focus", event: Event): this; + $emit(eventName: "blur", event: Event): this; + $slots: { + list: VNode[]; + }; +} \ No newline at end of file