fix(datepicker): deprecate selectedChanged output (#6025)

* Deprecates the `selectedChanged` output on the datepicker component in favor of the `dateChange` and `dateInput` bindings on the input element.

Closes #6000
This commit is contained in:
Paul Gschwendtner
2017-07-27 18:43:11 +02:00
committed by Andrew Seguin
parent 08037f966b
commit ee73d2c173
+4 -1
View File
@@ -151,7 +151,10 @@ export class MdDatepicker<D> implements OnDestroy {
}
private _disabled: boolean;
/** Emits new selected date when selected date changes. */
/**
* Emits new selected date when selected date changes.
* @deprecated Switch to the `dateChange` and `dateInput` binding on the input element.
*/
@Output() selectedChanged = new EventEmitter<D>();
/** Whether the calendar is open. */