[new feature] PasswordInput: add gutter prop

This commit is contained in:
陈嘉涵
2019-05-16 15:56:56 +08:00
parent caa4a65668
commit 7d37091f00
7 changed files with 78 additions and 30 deletions
+12
View File
@@ -53,6 +53,17 @@ export default {
}
```
### Custom length
```html
<van-password-input
:value="value"
:length="4"
:gutter="15"
@focus="showKeyboard = true"
/>
```
### Without mask
```html
@@ -74,6 +85,7 @@ export default {
| mask | Whether to mask value | `Boolean` | `true` |
| info | Bottom info | `String` | - |
| error-info | Bottom error info | `String` | - |
| gutter | Gutter of input | `Number | String` | `0` |
### Events