mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
[Doc] new theme
This commit is contained in:
@@ -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 |
|
||||
|
@@ -1,16 +1,19 @@
|
||||
## PasswordInput 密码输入框
|
||||
# PasswordInput 密码输入框
|
||||
|
||||
### 介绍
|
||||
|
||||
密码输入框组件通常与 [数字键盘](#/zh-CN/number-keyboard) 组件配合使用
|
||||
|
||||
### 使用指南
|
||||
### 引入
|
||||
``` javascript
|
||||
import { PasswordInput, NumberKeyboard } from 'vant';
|
||||
|
||||
Vue.use(PasswordInput).use(NumberKeyboard);
|
||||
```
|
||||
|
||||
### 代码演示
|
||||
## 代码演示
|
||||
|
||||
#### 基础用法
|
||||
### 基础用法
|
||||
|
||||
```html
|
||||
<!-- 密码输入框 -->
|
||||
@@ -49,7 +52,7 @@ export default {
|
||||
}
|
||||
```
|
||||
|
||||
#### 明文展示
|
||||
### 明文展示
|
||||
|
||||
```html
|
||||
<!-- 密码输入框 -->
|
||||
|
Reference in New Issue
Block a user