[Doc] props title

This commit is contained in:
陈嘉涵
2019-05-03 09:37:24 +08:00
parent 921f8a88fb
commit e3cb465dc2
101 changed files with 279 additions and 283 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ Use `position` prop to set popup display position
</van-popup>
```
### API
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
@@ -50,7 +50,7 @@ Use `position` prop to set popup display position
| lazy-render | Whether to lazy render util appeared | `Boolean` | `true` |
| get-container | Return the mount node for Popup | `String | () => HTMLElement` | - |
### Event
### Events
| Event | Description | Arguments |
|------|------|------|
+2 -2
View File
@@ -35,7 +35,7 @@ export default {
</van-popup>
```
### API
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
@@ -50,7 +50,7 @@ export default {
| lock-scroll | 是否锁定背景滚动 | `Boolean` | `true` | 1.0.0 |
| lazy-render | 是否在显示弹层时才渲染节点 | `Boolean` | `true` | 1.1.5 |
### Event
### Events
| 事件名 | 说明 | 回调参数 |
|------|------|------|