Merge pull request #15827 from QuentinFchx/patch-1

[fullcalendar] Improve definitions (slotDuration / height)
This commit is contained in:
Ryan Cavanaugh
2017-04-17 14:03:55 -07:00
committed by GitHub
+2 -2
View File
@@ -50,7 +50,7 @@ export interface Options extends AgendaOptions, EventDraggingResizingOptions, Dr
weekNumbers?: boolean;
weekNumberCalculation?: any; // String/Function
businessHours?: boolean | BusinessHours | BusinessHours[];
height?: number;
height?: number | 'auto' | 'parent';
contentHeight?: number;
aspectRatio?: number;
handleWindowResize?: boolean;
@@ -150,7 +150,7 @@ export interface Options extends AgendaOptions, EventDraggingResizingOptions, Dr
export interface AgendaOptions {
allDaySlot?: boolean;
allDayText?: string;
slotDuration?: moment.Duration;
slotDuration?: moment.DurationInputArg1;
slotLabelFormat?: string;
slotLabelInterval?: moment.Duration;
snapDuration?: moment.Duration;