Skip to content

Commit e4abe1f

Browse files
docs: correct formatting for slotAltTitleFormat in week and month views
1 parent 0f68aa5 commit e4abe1f

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

docs/Configuration/Views/week,-month.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,26 @@ If you set these view positions as `fullscreen_below` or `fullscreen_above`, the
88

99
# View:week
1010

11-
| field | value type | value example | default value | memo |
12-
| ------------------ | ---------- | ------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------- |
13-
| slotTitleFormat | String | "M/D" | "D" | date of calendar cell |
14-
| slotSubTitleFormat | String | "dddd" | "ddd" | weekday of calendar cell |
15-
| slotAltTitleFormat | String | "MMM D | "M/D" | Only for view:week and view:month. <br>Alternative slot title when it is needed.(e.g: month changed, start of calendar...) |
16-
| showWeekends | Boolean | false | true | Show Saturday and Sunday. |
17-
| slotMaxHeight | String | "150px" | "240px" | height of calendar cell. `hideOverflow` is set to `true` by force in this view. |
18-
| weeksFormat | String | "[week] wo" | "wo" | Weeks mark of calendar. |
19-
| monthFormat | String | "[Month:] MM" | "MMMM" | The title of month in current view. (CSS selector:`.monthViewTitle`) |
11+
| field | value type | value example | default value | memo |
12+
| ------------------ | ---------- | ------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
13+
| slotTitleFormat | String | "M/D" | "D" | date of calendar cell |
14+
| slotSubTitleFormat | String | "dddd" | "ddd" | weekday of calendar cell |
15+
| slotAltTitleFormat | String | "MMM D" | "M/D" | Only for view:week and view:month. <br>Displayed instead of `slotTitle` on special cells (first cell, first day of month, etc.). <br>Set it to the same value as `slotTitleFormat` if you want consistent formatting everywhere. |
16+
| showWeekends | Boolean | false | true | Show Saturday and Sunday. |
17+
| slotMaxHeight | String | "150px" | "240px" | height of calendar cell. `hideOverflow` is set to `true` by force in this view. |
18+
| weeksFormat | String | "[week] wo" | "wo" | Weeks mark of calendar. |
19+
| monthFormat | String | "[Month:] MM" | "MMMM" | The title of month in current view. (CSS selector:`.monthViewTitle`) |
2020

2121
# View:month
2222

23-
| field | value type | value example | default value | memo |
24-
| ------------------ | ---------- | ------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------- |
25-
| slotTitleFormat | String | "M/D" | "D" | date of calendar cell |
26-
| slotSubTitleFormat | String | "dddd" | "ddd" | weekday of calendar cell |
27-
| slotAltTitleFormat | String | "MMM D | "M/D" | Only for view:week and view:month. <br>Alternative slot title when it is needed.(e.g: month changed, start of calendar...) |
28-
| showWeekends | Boolean | false | true | Show Saturday and Sunday. |
29-
| slotMaxHeight | String | "120px" | "150px" | height of calendar cell. `hideOverflow` is set to `true` by force in this view. |
30-
| weeksFormat | String | "[week] wo" | "wo" | Weeks mark of calendar. |
23+
| field | value type | value example | default value | memo |
24+
| ------------------ | ---------- | ------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
25+
| slotTitleFormat | String | "M/D" | "D" | date of calendar cell |
26+
| slotSubTitleFormat | String | "dddd" | "ddd" | weekday of calendar cell |
27+
| slotAltTitleFormat | String | "MMM D" | "M/D" | Only for view:week and view:month. <br>Displayed instead of `slotTitle` on special cells (first cell, first day of month, etc.). <br>Set it to the same value as `slotTitleFormat` if you want consistent formatting everywhere. |
28+
| showWeekends | Boolean | false | true | Show Saturday and Sunday. |
29+
| slotMaxHeight | String | "120px" | "150px" | height of calendar cell. `hideOverflow` is set to `true` by force in this view. |
30+
| weeksFormat | String | "[week] wo" | "wo" | Weeks mark of calendar. |
3131

3232
- In `view:month`, `slotCount` will be ignored.
3333

0 commit comments

Comments
 (0)