forked from vueComponent/ant-design-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauto-complete.d.ts
39 lines (23 loc) · 873 Bytes
/
auto-complete.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { VNode } from 'vue';
import { AntdVueComponent } from './component';
type DataSourceItemType = { value: any, text: string };
/** AAutoComplete Layout Component */
export declare class AAutoComplete extends AntdVueComponent {
allowClear: boolean
autoFocus: boolean
backfill: boolean
dataSource: VNode | DataSourceItemType[]
defaultActiveFirstOption: boolean
defaultValue: string | string[] |
{ key: string, label: string|VNode[] } | Array<{ key: string, label: string|VNode[]}>
disabled: boolean
filterOption: (inputValue: string, option: any) => boolean | boolean
optionLabelProp: string
placeholder: string | VNode
value: string | string[] |
{ key: string, label: string|VNode[] } | Array<{ key: string, label: string|VNode[]}>
defaultOpen: boolean
open: boolean
static blur: () => void
static focus: () => void
}