Skip to content

Commit 0696051

Browse files
committed
Document includeDisabled property for highlights
1 parent b450e49 commit 0696051

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,10 @@ var state = {
185185
```
186186

187187
## 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.
190192

191193
``` html
192194
<script>
@@ -210,7 +212,8 @@ var state = {
210212
if(date.getDate() % 4 == 0){
211213
return true
212214
}
213-
}
215+
},
216+
includeDisabled: true // Highlight disabled dates
214217
}
215218
}
216219
</script>

0 commit comments

Comments
 (0)