scan setting popup

This commit is contained in:
insanity
2018-09-05 22:55:18 +09:00
parent f01ecf72fe
commit bb1355c908
7 changed files with 13003 additions and 19 deletions

View File

@@ -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
];

View File

@@ -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();
}
}