docs: add guide of safe-area-inset-bottom (#4418)
This commit is contained in:
@@ -27,11 +27,7 @@ export default {
|
||||
|
||||
### Listen to Events
|
||||
|
||||
`search` event will be triggered when click the search button on the keyboard.
|
||||
|
||||
`cancel` event will be triggered when click the cancel button.
|
||||
|
||||
Tips: There will be a search button on the keyboard when Search is inside a form in iOS.
|
||||
`search` event will be triggered when click the search button on the keyboard, `cancel` event will be triggered when click the cancel button.
|
||||
|
||||
```html
|
||||
<form action="/">
|
||||
@@ -45,6 +41,8 @@ Tips: There will be a search button on the keyboard when Search is inside a form
|
||||
</form>
|
||||
```
|
||||
|
||||
> Tips: There will be a search button on the keyboard when Search is inside a form in iOS.
|
||||
|
||||
### Custom Button
|
||||
|
||||
Use `action` slot to custom right button, `cancel` event will no longer be triggered when use this slot
|
||||
|
||||
Reference in New Issue
Block a user