mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
parent
1ec01130d8
commit
8a694e729b
@ -37,7 +37,7 @@ autocomplete/remote-search
|
||||
|
||||
:::
|
||||
|
||||
## Autocomplete APIs
|
||||
## API
|
||||
|
||||
### Attributes
|
||||
|
||||
@ -62,6 +62,13 @@ autocomplete/remote-search
|
||||
| highlight-first-item | whether to highlight first item in remote search suggestions by default | ^[boolean] | false |
|
||||
| fit-input-width | whether the width of the dropdown is the same as the input | ^[boolean] | false |
|
||||
|
||||
### Events
|
||||
|
||||
| Name | Description | Type |
|
||||
| ------ | ------------------------------------------------ | ----------------------------------------------------- |
|
||||
| select | triggers when a suggestion is clicked | ^[Function]`(item: typeof modelValue \| any) => void` |
|
||||
| change | triggers when the icon inside Input value change | ^[Function]`(value: string \| number) => void` |
|
||||
|
||||
### Slots
|
||||
|
||||
| Name | Description |
|
||||
@ -72,13 +79,6 @@ autocomplete/remote-search
|
||||
| prepend | content to prepend before Input |
|
||||
| append | content to append after Input |
|
||||
|
||||
### Events
|
||||
|
||||
| Name | Description | Type |
|
||||
| ------ | ------------------------------------------------ | ----------------------------------------------------- |
|
||||
| select | triggers when a suggestion is clicked | ^[Function]`(item: typeof modelValue \| any) => void` |
|
||||
| change | triggers when the icon inside Input value change | ^[Function]`(value: string \| number) => void` |
|
||||
|
||||
### Instance Exposes
|
||||
|
||||
| Name | Description | Type |
|
||||
|
Loading…
Reference in New Issue
Block a user