[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
+7 -4
View File
@@ -1,15 +1,16 @@
## SwipeCell
# SwipeCell
### Install
``` javascript
import { SwipeCell } from 'vant';
Vue.use(SwipeCell);
```
### Usage
## Usage
#### Basic Usage
### Basic Usage
```html
<van-swipe-cell :right-width="65" :left-width="65">
@@ -21,7 +22,7 @@ Vue.use(SwipeCell);
</van-swipe-cell>
```
#### Async close
### Async close
```html
<van-swipe-cell :right-width="65" :left-width="65" :on-close="onClose">
@@ -56,6 +57,8 @@ export default {
}
```
## API
### Props
| Attribute | Description | Type | Default |