From 6d90f461a469582a6a2801088075f5f1199f7fc3 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 16 Aug 2021 14:20:49 +0300 Subject: [PATCH] Refactor #1451 - For AutoComplete --- src/components/autocomplete/AutoComplete.d.ts | 2 + src/components/autocomplete/AutoComplete.vue | 58 +++++++++++++------ 2 files changed, 41 insertions(+), 19 deletions(-) diff --git a/src/components/autocomplete/AutoComplete.d.ts b/src/components/autocomplete/AutoComplete.d.ts index 0391cea8c..1f10644d7 100755 --- a/src/components/autocomplete/AutoComplete.d.ts +++ b/src/components/autocomplete/AutoComplete.d.ts @@ -1,4 +1,5 @@ import { VNode } from 'vue'; +import { VirtualScrollerProps } from '../virtualscroller'; interface AutoCompleteProps { modelValue?: any; @@ -20,6 +21,7 @@ interface AutoCompleteProps { class?: any; style?: any; panelClass?: string; + virtualScrollerOptions?: VirtualScrollerProps; } declare class AutoComplete { diff --git a/src/components/autocomplete/AutoComplete.vue b/src/components/autocomplete/AutoComplete.vue index 4815d3d2a..913c8dddc 100755 --- a/src/components/autocomplete/AutoComplete.vue +++ b/src/components/autocomplete/AutoComplete.vue @@ -18,25 +18,29 @@