[Doc] new theme
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
## Pagination
|
||||
# Pagination
|
||||
|
||||
### Install
|
||||
|
||||
``` javascript
|
||||
import { Pagination } from 'vant';
|
||||
|
||||
Vue.use(Pagination);
|
||||
```
|
||||
|
||||
### Usage
|
||||
## Usage
|
||||
|
||||
#### Basic Usage
|
||||
### Basic Usage
|
||||
|
||||
```html
|
||||
<van-pagination
|
||||
@@ -29,7 +30,7 @@ export default {
|
||||
}
|
||||
```
|
||||
|
||||
#### Simple mode
|
||||
### Simple mode
|
||||
|
||||
```html
|
||||
<van-pagination
|
||||
@@ -39,7 +40,7 @@ export default {
|
||||
/>
|
||||
```
|
||||
|
||||
#### Show ellipses
|
||||
### Show ellipses
|
||||
|
||||
```html
|
||||
<van-pagination
|
||||
@@ -50,6 +51,8 @@ export default {
|
||||
/>
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|
||||
Reference in New Issue
Block a user