Add missing isCustomDate into Settings (#25042)

This commit is contained in:
Jakub Řičař
2018-04-16 15:13:00 -07:00
committed by Ryan Cavanaugh
parent fe483b7d27
commit b3cea7a6bb
+4
View File
@@ -135,6 +135,10 @@ declare namespace daterangepicker {
* A function that is passed each date in the two calendars before they are displayed, and may return true or false to indicate whether that date should be available for selection or not.
*/
isInvalidDate?(startDate: string | moment.Moment | Date, endDate?: string | moment.Moment | Date): boolean;
/**
* A function that is passed each date in the two calendars before they are displayed, and may return a string or array of CSS class names to apply to that date's calendar cell.
*/
isCustomDate?(date: string | moment.Moment | Date): string | string[] | undefined;
/**
* Indicates whether the date range picker should automatically update the value of an < input > element it's attached to at initialization and when the selected dates change.
*/