scan setting popup
This commit is contained in:
@@ -66,6 +66,8 @@ import {
|
||||
TooltipModule,
|
||||
TreeModule,
|
||||
TreeTableModule,
|
||||
KeyFilterModule,
|
||||
MessageModule,
|
||||
} from 'primeng/primeng';
|
||||
|
||||
import { CardModule } from 'primeng/card';
|
||||
@@ -74,6 +76,7 @@ import { ProgressSpinnerModule } from 'primeng/progressspinner';
|
||||
import { ScrollPanelModule } from 'primeng/scrollpanel';
|
||||
import { SidebarModule } from 'primeng/sidebar';
|
||||
import { TableModule } from 'primeng/table';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
|
||||
export const PRIME_NG_MODULES: any[] = [
|
||||
AccordionModule,
|
||||
@@ -149,4 +152,7 @@ export const PRIME_NG_MODULES: any[] = [
|
||||
TooltipModule,
|
||||
TreeModule,
|
||||
TreeTableModule,
|
||||
KeyFilterModule,
|
||||
MessageModule,
|
||||
FormsModule
|
||||
];
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Component, Input, ContentChild } from '@angular/core';
|
||||
import { Component, Input, ContentChild, ViewChild } from '@angular/core';
|
||||
import { Header, Footer } from 'primeng/primeng';
|
||||
import { PopupPanelComponent } from './popup-panel.component';
|
||||
|
||||
@Component({
|
||||
selector: 'of-p-dropdownPanel',
|
||||
@@ -25,6 +26,12 @@ export class DropdownPanelComponent {
|
||||
|
||||
@ContentChild(Footer) footerFacet;
|
||||
|
||||
@ViewChild('popupPanel') popupPanel: PopupPanelComponent;
|
||||
|
||||
constructor() { }
|
||||
|
||||
hide(): void {
|
||||
this.popupPanel.hide();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user