Skip to content

Commit 3e82ab1

Browse files
committed
docs: hourSegments must divide into 60 and not be less than 6
Closes #1314
1 parent 99c2bab commit 3e82ab1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/angular-calendar/src/modules/day/calendar-day-view.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class CalendarDayViewComponent {
7171
@Input() events: CalendarEvent[] = [];
7272

7373
/**
74-
* The number of segments in an hour. Must be <= 6
74+
* The number of segments in an hour. Must divide equally into 60.
7575
*/
7676
@Input() hourSegments: number = 2;
7777

projects/angular-calendar/src/modules/week/calendar-week-view.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ export class CalendarWeekViewComponent implements OnChanges, OnInit, OnDestroy {
508508
@Input() snapDraggedEvents: boolean = true;
509509

510510
/**
511-
* The number of segments in an hour. Must be <= 6
511+
* The number of segments in an hour. Must divide equally into 60.
512512
*/
513513
@Input() hourSegments: number = 2;
514514

0 commit comments

Comments
 (0)