UNPKG

691 BJavaScriptView Raw
1import { Directive, TemplateRef } from '@angular/core';
2import { TabDirective } from './tab.directive';
3/** Should be used to mark <template> element as a template for tab heading */
4export var TabHeadingDirective = (function () {
5 function TabHeadingDirective(templateRef, tab) {
6 tab.headingRef = templateRef;
7 }
8 TabHeadingDirective.decorators = [
9 { type: Directive, args: [{ selector: '[tabHeading]' },] },
10 ];
11 /** @nocollapse */
12 TabHeadingDirective.ctorParameters = function () { return [
13 { type: TemplateRef, },
14 { type: TabDirective, },
15 ]; };
16 return TabHeadingDirective;
17}());
18//# sourceMappingURL=tab-heading.directive.js.map
\No newline at end of file