Skip to content

Commit 00388c6

Browse files
author
Irfan Maulana
committed
Add some description
1 parent 1a5af45 commit 00388c6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@ Vue.use(VueRangedatePicker)
4545

4646
| Props Name | Type | Default Value | Description |
4747
|--------------------------- |------------------|--------------- | ------------------------------------ |
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 |
5555
| initRange | Object | - | - |
5656
| startActiveMonth | Number | `new Date().getMonth()` | - |
5757
| startActiveYear | Number | `new Date().getFullYear()` | - |
5858
| 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 |
6161

6262

6363
## Development

0 commit comments

Comments
 (0)