mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(tabs): use two-way binding syntax in API doc (#3885)
This commit is contained in:
@@ -79,7 +79,7 @@ export class MdTabGroup {
|
||||
@Input()
|
||||
headerPosition: MdTabHeaderPosition = 'above';
|
||||
|
||||
/** Output to enable support for two-way binding on `selectedIndex`. */
|
||||
/** Output to enable support for two-way binding on ([selectedIndex]) */
|
||||
@Output() get selectedIndexChange(): Observable<number> {
|
||||
return this.selectChange.map(event => event.index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user