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

feat: add prop time to show only time picker

This commit is contained in:
mxie
2018-08-08 10:57:00 +08:00
parent 79cdce2f73
commit 1046731101
7 changed files with 33 additions and 16 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ export default {
| Prop | Type | Default | Description |
|---------------------|---------------|-------------|-----------------------------------------------------|
| type | String | 'date' | select date type (date/datetime/year/month) |
| type | String | 'date' | select date type (date/datetime/year/month/time) |
| 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) |