UNPKG

angular2-mdl

Version:

Angular 2 components, directives and styles based on material design lite https://getmdl.io.

27 lines 1.11 kB
import { Component, ViewEncapsulation, ElementRef, ContentChildren } from '@angular/core'; import { MdlLayoutTabPanelComponent } from './mdl-layout-tab-panel.component'; export var MdlLayoutContentComponent = (function () { function MdlLayoutContentComponent(elRef) { this.elRef = elRef; this.el = elRef.nativeElement; } MdlLayoutContentComponent.decorators = [ { type: Component, args: [{ selector: 'mdl-layout-content', host: { '[class.mdl-layout__content]': 'true', }, template: "<ng-content></ng-content>", encapsulation: ViewEncapsulation.None, },] }, ]; /** @nocollapse */ MdlLayoutContentComponent.ctorParameters = function () { return [ { type: ElementRef, }, ]; }; MdlLayoutContentComponent.propDecorators = { 'tabs': [{ type: ContentChildren, args: [MdlLayoutTabPanelComponent,] },], }; return MdlLayoutContentComponent; }()); //# sourceMappingURL=mdl-layout-content.component.js.map