@@ -56,7 +56,36 @@ Sets the picker date/time.
56
56
57
57
58
58
59
- #### en/disabledHours
59
+ #### daysOfWeekDisabled
60
+
61
+ Default: [ ]
62
+
63
+ Accepts: ` array ` of [ ` number ` ]
64
+
65
+ ``` handlebars
66
+ {{bs-datetimepicker daysOfWeekDisabled=daysOfWeekDisabled}}
67
+ ```
68
+
69
+ Disables selection of days in the array, e.g. sundays.
70
+
71
+
72
+
73
+ #### disabledDates / enabledDates
74
+
75
+ Default: ` false `
76
+
77
+ Accepts: ` array ` of [ ` date ` , ` moment ` , ` string ` ]
78
+
79
+ ``` handlebars
80
+ {{bs-datetimepicker disabledDates=disabledDates}}
81
+ {{bs-datetimepicker enabledDates=enabledDates}}
82
+ ```
83
+
84
+ Disables / enables selection of dates in the array, e.g. holidays.
85
+
86
+
87
+
88
+ #### disabledHours / enabledHours
60
89
61
90
Default: ` false `
62
91
@@ -67,7 +96,7 @@ Accepts: `array` of [`number`]
67
96
{{bs-datetimepicker date=myDate enabledHours=enabledHours}}
68
97
```
69
98
70
- Disables/ enables selection of dates in the array.
99
+ Disables / enables selection of hours in the array, affecting all days .
71
100
72
101
73
102
@@ -162,35 +191,6 @@ Prevents date/time selections before this date.
162
191
163
192
164
193
165
- #### daysOfWeekDisabled
166
-
167
- Default: [ ]
168
-
169
- Accepts: ` array ` of [ ` number ` ]
170
-
171
- ``` handlebars
172
- {{bs-datetimepicker daysOfWeekDisabled=daysOfWeekDisabled}}
173
- ```
174
-
175
- Disables selection of days in the array, e.g. sundays.
176
-
177
-
178
-
179
- #### en/disabledDates
180
-
181
- Default: ` false `
182
-
183
- Accepts: ` array ` of [ ` date ` , ` moment ` , ` string ` ]
184
-
185
- ``` handlebars
186
- {{bs-datetimepicker disabledDates=disabledDates}}
187
- {{bs-datetimepicker enabledDates=enabledDates}}
188
- ```
189
-
190
- Disables/enables selection of dates in the array, e.g. holidays.
191
-
192
-
193
-
194
194
#### openOnFocus
195
195
196
196
Default: ` false `
@@ -312,7 +312,8 @@ The default view to display when the picker is shown.
312
312
313
313
Default: ` { horizontal: 'auto', vertical: 'auto' } `
314
314
315
- Accepts: ` object ` with all or one of the parameters above (horizontal: 'auto', 'left', 'right'; vertical: 'auto', 'top', 'bottom')
315
+ Accepts: ` object ` with one or all of the parameters above
316
+ (horizontal: 'auto', 'left', 'right' / vertical: 'auto', 'top', 'bottom')
316
317
317
318
``` handlebars
318
319
{{bs-datetimepicker date=myDate widgetPositioning=widgetPositioning}}
0 commit comments