|
1 | 1 | # VueRangedatePicker |
2 | 2 |
|
3 | | -[](https://www.npmjs.com/package/vue-rangedate-picker) [](https://vuejs.org/) [](https://travis-ci.org/bliblidotcom/vue-rangedate-picker) |
| 3 | +[](https://www.npmjs.com/package/vue-rangedate-picker) [](https://vuejs.org/) [](https://travis-ci.org/bliblidotcom/vue-rangedate-picker) [](https://codecov.io/gh/bliblidotcom/vue-rangedate-picker) |
4 | 4 |
|
5 | 5 | > Date picker with range selection |
6 | 6 |
|
@@ -45,19 +45,19 @@ Vue.use(VueRangedatePicker) |
45 | 45 |
|
46 | 46 | | Props Name | Type | Default Value | Description | |
47 | 47 | |--------------------------- |------------------|--------------- | ------------------------------------ | |
48 | | -| configs | Object | - | - | |
49 | | -| i18n | String | - | - | |
50 | | -| months | Array | - | - | |
51 | | -| shortDays | Array | - | - | |
52 | | -| captions | Object | - | - | |
53 | | -| format | String | 'DD MMM YYYY' | - | |
54 | | -| styles | Object | - | - | |
| 48 | +| configs | Object | {} | - | |
| 49 | +| i18n | String | 'ID' | For text translation (currently: ID/EN) | |
| 50 | +| months | Array | ['Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember'] | Array months name | |
| 51 | +| shortDays | Array | ['Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab'] | Array date name in short text | |
| 52 | +| captions | Object | `{'title': 'Choose Dates','ok_button': 'Apply'}` | Caption text like title and apply button | |
| 53 | +| format | String | 'DD MMM YYYY' | Date format | |
| 54 | +| styles | Object | `{daysWeeks: 'calendar_weeks', days: 'calendar_days', daysSelected: 'calendar_days_selected', daysInRange: 'calendar_days_in-range', firstDate: 'calendar_month_left', secondDate: 'calendar_month_right', presetRanges: 'calendar_preset-ranges'}` | Object set that contains classes use in calendar | |
55 | 55 | | initRange | Object | - | - | |
56 | 56 | | startActiveMonth | Number | `new Date().getMonth()` | - | |
57 | 57 | | startActiveYear | Number | `new Date().getFullYear()` | - | |
58 | 58 | | presetRanges | Object | - | - | |
59 | | -| compact | String | 'false' | - | |
60 | | -| righttoleft | String | 'false' | - | |
| 59 | +| compact | String | 'false' | For set date to always shown | |
| 60 | +| righttoleft | String | 'false' | For set date box align from right | |
61 | 61 |
|
62 | 62 |
|
63 | 63 | ## Development |
|
0 commit comments