/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Directive, TemplateRef, ViewContainerRef} from '@angular/core'; import {TemplatePortalDirective} from '@angular/cdk'; /** Workaround for https://github.com/angular/angular/issues/17849 */ export const _MdTabLabelBaseClass = TemplatePortalDirective; /** Used to flag tab labels for use with the portal directive */ @Directive({ selector: '[sam-tab-label]', }) export class MdTabLabel extends _MdTabLabelBaseClass { constructor(templateRef: TemplateRef, viewContainerRef: ViewContainerRef) { super(templateRef, viewContainerRef); } }