diff options
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/panel-tab.component.ts')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/panel-tab.component.ts | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/panel-tab.component.ts b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/panel-tab.component.ts index c148a4e579..df8f46d784 100644 --- a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/panel-tab.component.ts +++ b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/panel-tab.component.ts @@ -1,13 +1,21 @@ -import { NgModule, Component, Compiler, ViewContainerRef, ViewChild, Input, ComponentRef, ComponentFactoryResolver, ChangeDetectorRef } from '@angular/core'; -import {Component as TopologyTemplate} from "app/models"; -import { SdcUiServices } from "onap-ui-angular"; +import { + Component, + ViewContainerRef, + ViewChild, + Input, + ComponentRef, + ComponentFactoryResolver, + ChangeDetectorRef, + OnChanges, OnDestroy, AfterViewInit +} from '@angular/core'; +import {Component as TopologyTemplate} from 'app/models'; // Helper component to add dynamic tabs @Component({ selector: 'panel-tab', template: `<div #content></div>` }) -export class PanelTabComponent { +export class PanelTabComponent implements OnChanges, OnDestroy, AfterViewInit { @ViewChild('content', { read: ViewContainerRef }) content; @Input() isActive:boolean; @Input() panelTabType; |