Skip to content

Commit

Permalink
fix: missing exportAs names (#7554)
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion authored and kara committed Oct 6, 2017
1 parent 37a423b commit fa441bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/slide-toggle/slide-toggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const _MatSlideToggleMixinBase =
@Component({
moduleId: module.id,
selector: 'mat-slide-toggle',
exportAs: 'matSlideToggle',
host: {
'class': 'mat-slide-toggle',
'[id]': 'id',
Expand Down
1 change: 1 addition & 0 deletions src/lib/sort/sort-header.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const SORT_ANIMATION_TRANSITION =
@Component({
moduleId: module.id,
selector: '[mat-sort-header]',
exportAs: 'matSortHeader',
templateUrl: 'sort-header.html',
styleUrls: ['sort-header.css'],
host: {
Expand Down
1 change: 1 addition & 0 deletions src/lib/sort/sort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export interface Sort {
/** Container for MatSortables to manage the sort state and provide default sort parameters. */
@Directive({
selector: '[matSort]',
exportAs: 'matSort',
})
export class MatSort {
/** Collection of all registered sortables that this directive manages. */
Expand Down

0 comments on commit fa441bc

Please sign in to comment.