mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
609 B
609 B
Auto Complete
Use as search hint or something similar.
Demos
basic
custom-input
after-select
V-model
Prop | Event |
---|---|
value | input |
Props
Name | Type | Default | Description |
---|---|---|---|
size | 'small' | 'medium' | 'large' |
'medium' |
|
value | string |
null |
|
options | Array |
[] |
|
blur-after-select | boolean |
false |
|
clear-after-select | boolean |
false |
Slots
Name | Parameters | Description |
---|---|---|
default | ({ handleInput, handleFocus, handleBlur, value }) |
Events
Name | Parameters | Description} |
---|---|---|
input | (value: string | null) |
|
select | (value: string) |