feat(Calendar): add basic files

This commit is contained in:
陈嘉涵
2019-12-26 19:59:08 +08:00
committed by neverland
parent 3a22162912
commit 49781a5e15
11 changed files with 252 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
# Calendar
### Install
``` javascript
import Vue from 'vue';
import { Calendar } from 'vant';
Vue.use(Calendar);
```
## Usage
### Basic Usage
```html
<van-calendar v-model="checked" />
```
## API
### Props
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
### Props
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
### Events
| Event | Description | Parameters |
|------|------|------|
### Slots
| Name | Description | SlotProps |
|------|------|------|
### Methods
Use [ref](https://vuejs.org/v2/api/#ref) to get Canlendar instance and call instance methods
| Name | Description | Attribute | Return value |
|------|------|------|------|