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: README.md
+19-6
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,9 @@ Put the dp-date-picker component wherever you need it.
63
63
| 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. |
64
64
| open |`undefined`| All Pickers | This event will be emitted when picker is opened. |
65
65
| close |`CalendarValue`| All Pickers | This event will be emitted when picker is closed. |
66
-
| onGoToCurrent || All Pickers | This event will be emitted when click on go to current in navigation. |
66
+
| onGoToCurrent | void | All Pickers | This event will be emitted when click was made on go to current button. |
67
+
| onLeftNav | void | All Pickers | This event will be emitted when click was made on left navigation button. |
68
+
| onRightNav | void | All Pickers | This event will be emitted when click was made on right navigation button. |
67
69
68
70
### Configuration:
69
71
In order to provide configurations to the date-picker you need to pass it to the `dp-date-picker` component:
| onSelect |`IMonth`| This event will be emitted when a month is selected. |
243
-
| onNavHeaderBtnClick |`null`| This event will be emitted when the mode button, in the navigation section, was clicked. |
247
+
| onSelect |`IMonth`| This event will be emitted when a month is selected. |
248
+
| onNavHeaderBtnClick |`null`| This event will be emitted when the mode button, in the navigation section, was clicked. |
249
+
| onGoToCurrent | void | This event will be emitted when click was made on go to current button. |
250
+
| onLeftNav | void | This event will be emitted when click was made on left navigation button. |
251
+
| onRightNav | void | This event will be emitted when click was made on right navigation button. |
244
252
245
253
246
254
### Configuration:
@@ -340,9 +348,14 @@ i.e.
340
348
| 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. |
341
349
| config |`IDatePickerConfig`| See Below | Configuration object - see description below. |
0 commit comments