app/@overflow/commons/ui/component/primeng/dropdown-panel.component.ts

31 lines
624 B
TypeScript
Raw Normal View History

2018-08-18 01:04:59 +00:00
import { Component, Input, ContentChild } from '@angular/core';
import { Header, Footer } from 'primeng/primeng';
2018-08-17 10:53:40 +00:00
@Component({
2018-08-18 01:04:59 +00:00
selector: 'of-p-dropdownPanel',
2018-08-17 10:53:40 +00:00
templateUrl: './dropdown-panel.component.html',
styleUrls: ['./dropdown-panel.component.scss'],
})
2018-08-18 01:04:59 +00:00
export class DropdownPanelComponent {
@Input() blockTarget: any;
2018-08-17 10:53:40 +00:00
@Input() style: any;
@Input() styleClass: string;
2018-08-18 01:04:59 +00:00
@Input() headerStyle: any;
2018-08-17 10:53:40 +00:00
2018-08-18 01:04:59 +00:00
@Input() headerStyleClass: string;
2018-08-17 10:53:40 +00:00
2018-08-18 01:04:59 +00:00
@Input() footerStyle: any;
2018-08-17 10:53:40 +00:00
2018-08-18 01:04:59 +00:00
@Input() footerStyleClass: string;
2018-08-17 10:53:40 +00:00
@ContentChild(Header) headerFacet;
@ContentChild(Footer) footerFacet;
2018-08-18 01:04:59 +00:00
constructor() { }
2018-08-17 10:53:40 +00:00
}