Skip to content

Commit fa441bc

Browse files
devversionkara
authored andcommitted
fix: missing exportAs names (#7554)
1 parent 37a423b commit fa441bc

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/lib/slide-toggle/slide-toggle.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export const _MatSlideToggleMixinBase =
6868
@Component({
6969
moduleId: module.id,
7070
selector: 'mat-slide-toggle',
71+
exportAs: 'matSlideToggle',
7172
host: {
7273
'class': 'mat-slide-toggle',
7374
'[id]': 'id',

src/lib/sort/sort-header.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const SORT_ANIMATION_TRANSITION =
4646
@Component({
4747
moduleId: module.id,
4848
selector: '[mat-sort-header]',
49+
exportAs: 'matSortHeader',
4950
templateUrl: 'sort-header.html',
5051
styleUrls: ['sort-header.css'],
5152
host: {

src/lib/sort/sort.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export interface Sort {
2929
/** Container for MatSortables to manage the sort state and provide default sort parameters. */
3030
@Directive({
3131
selector: '[matSort]',
32+
exportAs: 'matSort',
3233
})
3334
export class MatSort {
3435
/** Collection of all registered sortables that this directive manages. */

0 commit comments

Comments
 (0)