You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**`scrollable`**| Dates are scrollable if true. | Bool |**`False`**|
194
-
|**`startingDate`**| Date to be used for centering the calendar/showing the week based on that date. It is internally wrapped by `moment` so it accepts both `Date` and `moment Date`. | Any |
195
-
|**`selectedDate`**| Date to be used as pre selected Date. It is internally wrapped by `moment` so it accepts both `Date` and `moment Date`. | Any |
196
-
|**`onDateSelected`**| Function to be used as a callback when a date is selected. It returns `moment Date`| Function |
197
-
|**`onWeekChanged`**| Function to be used as a callback when a week is changed. It returns `moment Date`| Number |
198
-
|**`updateWeek`**| Update the week view if other props change. If `false`, the week view won't change when other props change, but will still respond to left/right selectors. | Bool |**`True`**|
199
-
|**`useIsoWeekday`**| start week on ISO day of week (default true). If false, starts week on _startingDate_ parameter. | Bool |**`True`**|
200
-
|**`minDate`**| minimum date that the calendar may navigate to. A week is allowed if minDate falls within the current week. | Any |
201
-
|**`maxDate`**| maximum date that the calendar may navigate to. A week is allowed if maxDate falls within the current week. | Any |
|**`scrollable`**| Dates are scrollable if true. | Bool |**`False`**|
194
+
|**`startingDate`**| Date to be used for centering the calendar/showing the week based on that date. It is internally wrapped by `moment` so it accepts both `Date` and `moment Date`. | Any |
195
+
|**`selectedDate`**| Date to be used as pre selected Date. It is internally wrapped by `moment` so it accepts both `Date` and `moment Date`. | Any |
196
+
|**`onDateSelected`**| Function to be used as a callback when a date is selected. It returns `moment Date`| Function |
197
+
|**`onWeekChanged`**| Function to be used as a callback when a week is changed. It returns `moment Date`| Function |
198
+
|**`onHeaderSelected`**| Function to be used as a callback when the header is selected. It returns `{weekStartDate, weekEndDate}` as `moment Dates`| Function |
199
+
|**`updateWeek`**| Update the week view if other props change. If `false`, the week view won't change when other props change, but will still respond to left/right selectors. | Bool |**`True`**|
200
+
|**`useIsoWeekday`**| start week on ISO day of week (default true). If false, starts week on _startingDate_ parameter. | Bool |**`True`**|
201
+
|**`minDate`**| minimum date that the calendar may navigate to. A week is allowed if minDate falls within the current week. | Any |
202
+
|**`maxDate`**| maximum date that the calendar may navigate to. A week is allowed if maxDate falls within the current week. | Any |
202
203
|**`datesWhitelist`**| Array of dates that are enabled, or a function callback which receives a date param and returns true if enabled. Array supports ranges specified with an object entry in the array. Check example <ahref="#dateswhitelist-array-example">Below</a> | Array or Func |
203
-
|**`datesBlacklist`**| Array of dates that are disabled, or a function callback. Same format as _datesWhitelist_. This overrides dates in _datesWhitelist_. | Array or Func |
204
-
| **`markedDates`** | Dates that are marked. Format as <ahref="#markedDatesFormat-array-example">markedDatesFormat</a>. | Array or Func | **[]**
204
+
|**`datesBlacklist`**| Array of dates that are disabled, or a function callback. Same format as _datesWhitelist_. This overrides dates in _datesWhitelist_. | Array or Func |
205
+
| **`markedDates`** | Dates that are marked. Format as <ahref="#markedDatesFormat-array-example">markedDatesFormat</a>. | Array or Func | **[]**
0 commit comments