docs: add guide of safe-area-inset-bottom (#4418)

This commit is contained in:
neverland
2019-09-10 20:07:31 +08:00
committed by GitHub
parent 4192ef198e
commit 50aa27fc64
24 changed files with 60 additions and 102 deletions
+3 -5
View File
@@ -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