2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-22 20:00:39 +03:00

feat: add type year and month

This commit is contained in:
mxie
2018-07-24 13:59:38 +08:00
7 changed files with 98 additions and 23 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ export default {
| Prop | Type | Default | Description |
|---------------------|---------------|-------------|-----------------------------------------------------|
| type | String | 'date' | select datepicker or datetimepicker(date/datetime) |
| type | String | 'date' | select date type (date/datetime/year/month) |
| range | Boolean | false | if true, the type is daterange or datetimerange |
| format | String | YYYY-MM-DD | The parsing tokens are similar to the moment.js |
| lang | String/Object | zh | Translation (en/zh/es/pt-br/fr/ru/de/it/cs)(custom) |