Skip to content

Commit

Permalink
fix(button-toggle): add exportAs (#1528)
Browse files Browse the repository at this point in the history
  • Loading branch information
jelbourn authored Oct 19, 2016
1 parent 2954631 commit d2c288d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/button-toggle/button-toggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export class MdButtonToggleChange {
host: {
'role': 'radiogroup',
},
exportAs: 'mdButtonToggleGroup',
})
export class MdButtonToggleGroup implements AfterViewInit, ControlValueAccessor {
/** The value for the button toggle group. Should match currently selected button toggle. */
Expand Down Expand Up @@ -207,6 +208,7 @@ export class MdButtonToggleGroup implements AfterViewInit, ControlValueAccessor
/** Multiple selection button-toggle group. */
@Directive({
selector: 'md-button-toggle-group[multiple]',
exportAs: 'mdButtonToggleGroup',
})
export class MdButtonToggleGroupMultiple {
/** Disables all toggles in the group. */
Expand Down

0 comments on commit d2c288d

Please sign in to comment.