File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -185,8 +185,10 @@ var state = {
185
185
```
186
186
187
187
## Highlight Dates
188
- Dates can be highlighted (e.g. for marking an appointment) in a number of ways. Important: You can only highlight dates, that aren't disabled.
189
- Note: Both ` to ` and ` from ` properties are required to define a range of dates to highlight
188
+ Dates can be highlighted (e.g. for marking an appointment) in a number of ways. Important:
189
+ By default disabled dates are ignored, to highlight disabled dates set the ` includeDisabled `
190
+ property to ` true ` . Note: Both ` to ` and ` from ` properties are required to define a range of
191
+ dates to highlight.
190
192
191
193
``` html
192
194
<script >
@@ -210,7 +212,8 @@ var state = {
210
212
if (date .getDate () % 4 == 0 ){
211
213
return true
212
214
}
213
- }
215
+ },
216
+ includeDisabled: true // Highlight disabled dates
214
217
}
215
218
}
216
219
</script >
You can’t perform that action at this time.
0 commit comments