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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,9 @@ All notable changes to this project will be documented in this file.
11
11
- Moving go to current button inside the navigation component ([dd283c5](https://github.com/vlio20/angular-datepicker/commit/dd283c5)).
12
12
13
13
### Bug Fixed
14
-
-Picker not always opens according to drops/opens ([c26d168](https://github.com/vlio20/angular-datepicker/commit/c26d168)) closes [#222](https://github.com/vlio20/angular-datepicker/issues/222)
14
+
-Add outputs of each component to docs ([???](https://github.com/vlio20/angular-datepicker/commit/???)) closes [#224](https://github.com/vlio20/angular-datepicker/issues/224)
15
15
- More than one picker can be opened at the same time ([dd283c5](https://github.com/vlio20/angular-datepicker/commit/dd283c5)) closes [#223](https://github.com/vlio20/angular-datepicker/issues/223)
16
+
- Picker not always opens according to drops/opens ([c26d168](https://github.com/vlio20/angular-datepicker/commit/c26d168)) closes [#222](https://github.com/vlio20/angular-datepicker/issues/222)
16
17
17
18
### Breaking Changes
18
19
- Go to current button moved from input element to the navigation component ([dd283c5](https://github.com/vlio20/angular-datepicker/commit/dd283c5)).
| onChange |`CalendarValue`| All Pickers | This event will be emitted on every valid value change, if you want to receive every value (valid and invalid) please use the native `ngModelChange` output. ||
57
-
58
-
54
+
| Name |Event Arguments| Applies To | Description |
| onChange |`CalendarValue`| All Pickers | This event will be emitted on every valid value change, if you want to receive every value (valid and invalid) please use the native `ngModelChange` output. |
57
+
| open |`undefined`| All Pickers | This event will be emitted when picker is opened. |
58
+
| close |`CalendarValue`| All Pickers | This event will be emitted when picker is closed. |
59
59
60
60
### Configuration:
61
61
In order to provide configurations to the date-picker you need to pass it to the `dp-date-picker` component:
@@ -168,6 +168,14 @@ i.e.
168
168
| theme |`String`|`''`| Theme is a class added to the popup container (and inner components) - this will allow styling of the calendar when it's appended to outer element (for example - body). There is a built in theme named dp-material, you can find it in the demo. |
169
169
| config |`IDayPickerConfig`| See Below | Configuration object - see description below. |
| onSelect |`IDay`| This event will be emitted when a day is selected. |
176
+
| onMonthSelect |`IMonth`| This event will be emitted when a month is selected. |
177
+
| onNavHeaderBtnClick |`ECalendarMode`| This event will be emitted when the mode of the calendar switches form day to month and vise versa. |
178
+
171
179
### Configuration:
172
180
In order to provide configurations to the day-calendar you need to pass it to the `dp-day-calendar` component:
173
181
```html
@@ -218,6 +226,14 @@ i.e.
218
226
| theme |`String`|`''`| Theme is a class added to the popup container (and inner components) - this will allow styling of the calendar when it's appended to outer element (for example - body). There is a built in theme named dp-material, you can find it in the demo. |
219
227
| config |`IMonthPickerConfig`| See Below | Configuration object - see description below. |
| onSelect |`IMonth`| This event will be emitted when a month is selected. |
234
+
| onNavHeaderBtnClick |`null`| This event will be emitted when the mode button, in the navigation section, was clicked. |
235
+
236
+
221
237
### Configuration:
222
238
In order to provide configurations to the month-calendar you need to pass it to the `dp-month-calendar` component:
223
239
```html
@@ -259,6 +275,13 @@ i.e.
259
275
| theme |`String`|`''`| Theme is a class added to the popup container (and inner components) - this will allow styling of the calendar when it's appended to outer element (for example - body). There is a built in theme named dp-material, you can find it in the demo. |
260
276
| config |`ITimeSelectConfig`| See Below | Configuration object - see description below. |
| onChange |`IDate`| This event will be emitted when time is selected. |
283
+
284
+
262
285
### Configuration:
263
286
In order to provide configurations to the time-select you need to pass it to the `dp-time-select` component:
264
287
```html
@@ -300,6 +323,10 @@ i.e.
300
323
| theme |`String`|`''`| Theme is a class added to the popup container (and inner components) - this will allow styling of the calendar when it's appended to outer element (for example - body). There is a built in theme named dp-material, you can find it in the demo. |
301
324
| config |`IDatePickerConfig`| See Below | Configuration object - see description below. |
0 commit comments