From 2417b170efe6dd48ff908cab989f5db82d1bc98d Mon Sep 17 00:00:00 2001 From: mertsincan Date: Tue, 28 May 2019 12:25:31 +0300 Subject: [PATCH] Created AutoComplete.d.ts --- src/components/autocomplete/AutoComplete.d.ts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/components/autocomplete/AutoComplete.d.ts 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