Skip to content

Commit

Permalink
fix(tabs): make @output not private (#1636)
Browse files Browse the repository at this point in the history
  • Loading branch information
jelbourn authored Oct 27, 2016
1 parent b9d853d commit 04e2201
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/tabs/tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,17 @@ export class MdTabGroup {
}

/** Output to enable support for two-way binding on `selectedIndex`. */
@Output('selectedIndexChange') private get _selectedIndexChange(): Observable<number> {
@Output() get selectedIndexChange(): Observable<number> {
return this.selectChange.map(event => event.index);
}

private _onFocusChange: EventEmitter<MdTabChangeEvent> = new EventEmitter<MdTabChangeEvent>();
@Output('focusChange') get focusChange(): Observable<MdTabChangeEvent> {
@Output() get focusChange(): Observable<MdTabChangeEvent> {
return this._onFocusChange.asObservable();
}

private _onSelectChange: EventEmitter<MdTabChangeEvent> = new EventEmitter<MdTabChangeEvent>();
@Output('selectChange') get selectChange(): Observable<MdTabChangeEvent> {
@Output() get selectChange(): Observable<MdTabChangeEvent> {
return this._onSelectChange.asObservable();
}

Expand Down

0 comments on commit 04e2201

Please sign in to comment.