We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6a348a commit 31b5026Copy full SHA for 31b5026
src/cdk/datepicker/calendar-view.ts
@@ -7,6 +7,7 @@
7
*/
8
9
import {Subject} from 'rxjs';
10
+import {Output} from '@angular/core';
11
12
/**
13
* An abstract calendar that is used as part of the datepicker. This abstract calendar class
@@ -26,8 +27,6 @@ export abstract class CalendarView<D> {
26
27
/** The currently selected date. */
28
abstract selected: D | null;
29
- /**
30
- * Emits whenever there is a state change that needs to be responded to.
31
- */
32
- readonly changes = new Subject<D>();
+ /** Emits when a new date is selected. */
+ @Output() abstract readonly selectedChange = new Subject<D | null>();
33
}
0 commit comments