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:
@@ -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) |
|
||||
|
||||
Reference in New Issue
Block a user