8 lines
541 B
HTML
8 lines
541 B
HTML
<div #container [ngClass]="{'ui-popuppanel ui-widget ui-widget-content ui-corner-all': true, 'ui-popuppanel-dynamic ui-shadow': popup}"
|
|
[class]="styleClass" [ngStyle]="style" (click)="preventDocumentDefault=true" *ngIf="!popup || visible" [@overlayAnimation]="'visible'"
|
|
[@.disabled]="popup !== true" (@overlayAnimation.start)="onOverlayAnimationStart($event)" (@overlayAnimation.done)="onOverlayAnimationDone($event)">
|
|
<ng-content></ng-content>
|
|
</div>
|
|
|
|
<p-blockUI id="block-ui" [target]="blockTarget" [blocked]="visible">
|
|
</p-blockUI> |