mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix: missing exportAs names (#7554)
This commit is contained in:
@@ -68,6 +68,7 @@ export const _MatSlideToggleMixinBase =
|
||||
@Component({
|
||||
moduleId: module.id,
|
||||
selector: 'mat-slide-toggle',
|
||||
exportAs: 'matSlideToggle',
|
||||
host: {
|
||||
'class': 'mat-slide-toggle',
|
||||
'[id]': 'id',
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user