提交 070cbf48 编写于 作者: D dolymood

input support prepend & append slot

上级 02db30b5
......@@ -83,6 +83,13 @@ Input component. You can use the `v-model` directive to create two-way data bind
| clearable | whether to show clear button | Boolean | true/false | false |
| eye | If set to false then the password eye is invisible, if set to true then the password eye is visible and the password content is visible, if set to an object `{ open: false }` then the password eye is visible but the password content is invisible, the `open` can be used to control the password content's visibility | Boolean/Object | true/false/{open: `true/false`} | false |
### Slot
| Slot Name | Description |
| - | - |
| prepend | prepend content |
| append | append content |
### Event
| Event Name | Description | Parameters |
......
......@@ -79,6 +79,13 @@
| clearable | 是否使用清空按钮 | Boolean | true/false | false |
| eye | 默认 false,密码眼睛不可见;如果是 true 则使用密码眼睛,且密码可见;还可配置为对象`{ open: false }`,那么眼睛可见,`open` 用来控制密码是否可见 | Boolean/Object | true/false/{open: `true/false`} | false |
### 插槽
| 名字 | 说明 |
| - | - |
| prepend | 前置内容 |
| append | 后置内容 |
### 事件
| 事件名 | 说明 | 参数 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册