mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Andrew Seguin
parent
08037f966b
commit
ee73d2c173
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user