mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-12 12:25:22 +08:00
docs(components): [Autocomplete] add h1 to autocomplete docs and little tweaking (#10174)
This commit is contained in:
parent
6890afc149
commit
6d624f1a76
@ -3,11 +3,15 @@ title: Autocomplete
|
||||
lang: en-US
|
||||
---
|
||||
|
||||
## Autocomplete
|
||||
# Autocomplete
|
||||
|
||||
You can get some recommended tips based on the current input.
|
||||
Get some recommended tips based on the current input.
|
||||
|
||||
:::demo Autocomplete component provides input suggestions. The `fetch-suggestions` attribute is a method that returns suggested input. In this example, `querySearch(queryString, cb)` returns suggestions to Autocomplete via `cb(data)` when suggestions are ready.
|
||||
## Basic Usage
|
||||
|
||||
Autocomplete component provides input suggestions.
|
||||
|
||||
:::demo The `fetch-suggestions` attribute is a method that returns suggested input. In this example, `querySearch(queryString, cb)` returns suggestions to Autocomplete via `cb(data)` when suggestions are ready.
|
||||
|
||||
autocomplete/autocomplete
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user