[Doc] new theme

This commit is contained in:
陈嘉涵
2019-05-15 20:53:04 +08:00
parent 3cae4288f2
commit d0f4169c86
130 changed files with 1460 additions and 1147 deletions
+10 -4
View File
@@ -1,16 +1,20 @@
## PasswordInput
# PasswordInput
### Intro
The PasswordInput component is usually used with [NumberKeyboard](#/en-US/number-keyboard) Component.
### Install
``` javascript
import { PasswordInput, NumberKeyboard } from 'vant';
Vue.use(PasswordInput).use(NumberKeyboard);
```
### Usage
## Usage
#### Basic Usage
### Basic Usage
```html
<!-- PasswordInput -->
@@ -49,7 +53,7 @@ export default {
}
```
#### Without mask
### Without mask
```html
<van-password-input
@@ -59,6 +63,8 @@ export default {
/>
```
## API
### Props
| Attribute | Description | Type | Default |