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
The **igxCalendar** implements the `ControlValueAccessor` interface, providing two-way data-binding
59
65
and the expected behavior when used both in Template-driven or Reactive Forms.
60
66
@@ -65,8 +71,8 @@ When the **igxCalendar** component is focused:
65
71
-`PageDown` will move to the next month.
66
72
-`Shift + PageUp` will move to the previous year.
67
73
-`Shift + PageDown` will move to the next year.
68
-
-`Home` will focus the first day of the current month that is into view.
69
-
-`End` will focus the last day of the current month that is into view.
74
+
-`Home` will focus the first day of the current month (or first month if more months are displayed) hat is into view.
75
+
-`End` will focus the last day of the current month ((or last month if more months are displayed)) that is into view.
70
76
-`Tab` will navigate through the subheader buttons;
71
77
72
78
When `prev` or `next` month buttons (in the subheader) are focused:
@@ -82,6 +88,7 @@ When a day inside the current month is focused:
82
88
- Arrow keys will navigate through the days.
83
89
- Arrow keys will allow navigation to previous/next month as well.
84
90
-`Enter` will select the currently focused day.
91
+
- When more than one month view is displayed, navigating with the arrow keys should move to next/previous month after navigating from first/last day in current month.
85
92
86
93
When a month inside the months view is focused:
87
94
- Arrow keys will navigate through the months.
@@ -154,6 +161,13 @@ The default values are listed below.
154
161
{ day: false, month: true, year: false }
155
162
```
156
163
164
+
-`monthViewsNumber: number`
165
+
Controls the number of month views displayed. Default is 1.
166
+
167
+
-`hideOusideDays: boolean`
168
+
Controls the visibility of the dates that do not belong to the current month.
@@ -127,6 +133,8 @@ The DatePicker action buttons could be retemplated.
127
133
|`vertical`|`boolean`| Configure the calendar mode - horizontal or vertical in read-only datePicker. |
128
134
|`mode`|`InteractionMode`| Configure the datePicker mode - `dialog` or `dropdown`. In `dropdown` mode, the datePicker input is editable and drop down calendar is displayed, in a `dialog` mode - the input is read-only and calendar dialog appears to select a date.|
129
135
|`isSpinLoop`|`boolean`| Configure whether the date parts would spin continuously or stop when min/max value is reached in `dropdown` mode.|
136
+
|`monthViewsNumber`|`number`| Controls the number of month views displayed. |
137
+
|`hideOutsideDays`|`boolean`| Controls the visibility of the dates that do not belong to the current month. |
0 commit comments