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
@@ -570,6 +572,16 @@ If the current view is a resource view, the [Resource](#resource-object) object
570
572
</tr>
571
573
</table>
572
574
575
+
### dateIncrement
576
+
- Type `string`, `integer` or `object`
577
+
- Default `undefined`
578
+
579
+
Defines the interval by which the displayed view is shifted when pressing the prev/next buttons or when the [prev()](#prev)/[next()](#next) methods are called.
580
+
581
+
This should be a value that can be parsed into a [Duration](#duration-object) object.
582
+
583
+
If not specified, then equal to [duration](#duration).
584
+
573
585
### datesAboveResources
574
586
- Type `boolean`
575
587
- Default `false`
@@ -627,6 +639,60 @@ The current [View](#view-object) object
627
639
</tr>
628
640
</table>
629
641
642
+
### dayCellContent
643
+
- Type `Content` or `function`
644
+
- Default `undefined`
645
+
646
+
Defines the content that is rendered inside the day cell.
647
+
648
+
This value can be either a [Content](#content) or a function that returns content:
649
+
650
+
```js
651
+
function (arg) {
652
+
// return Content
653
+
}
654
+
```
655
+
`arg` is an object with the following properties:
656
+
<table>
657
+
<tr>
658
+
<td>
659
+
660
+
`allDay`
661
+
</td>
662
+
<td>
663
+
664
+
`true` or `false`. Determines if the cell is within `all-day` slot. Month and list views are also considered as all-day slots
665
+
</td>
666
+
</tr>
667
+
<tr>
668
+
<td>
669
+
670
+
`date`
671
+
</td>
672
+
<td>JavaScript Date object corresponding to the day</td>
673
+
</tr>
674
+
<tr>
675
+
<td>
676
+
677
+
`isToday`
678
+
</td>
679
+
<td>
680
+
681
+
`true` or `false`. Determines if the cell is for today
682
+
</td>
683
+
</tr>
684
+
<tr>
685
+
<td>
686
+
687
+
`resource`
688
+
</td>
689
+
<td>
690
+
691
+
If the current view is a resource view, the [Resource](#resource-object) object that owns this cell
0 commit comments