18 lines
1018 B
HTML
18 lines
1018 B
HTML
|
<div [class]="styleClass" [ngStyle]="style" [ngClass]="{'ui-dropdownpanel ui-widget': true}">
|
||
|
<div [ngClass]="{'ui-widget ui-dropdownpanel-header ui-state-default':true, 'ui-state-active':visible}" (click)="toggle($event)">
|
||
|
<ng-content select="p-header"></ng-content>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div #container [ngClass]="{'ui-menu ui-widget ui-widget-content': true, 'ui-menu-dynamic ui-shadow': popup}" [class]="dropdownStyleClass"
|
||
|
[ngStyle]="dropdownStyle" (click)="preventDocumentDefault=true" *ngIf="!popup || visible" [@overlayAnimation]="'visible'"
|
||
|
[@.disabled]="popup !== true" (@overlayAnimation.start)="onOverlayAnimationStart($event)">
|
||
|
<div class="ui-dropdownpanel-content-wrapper" [ngClass]="{'ui-dropdownpanel-content-wrapper-overflown': !visible||animating}">
|
||
|
<div class="ui-dropdownpanel-content ui-widget-content">
|
||
|
<ng-content></ng-content>
|
||
|
</div>
|
||
|
<div class="ui-dropdownpanel-footer" *ngIf="footerFacet">
|
||
|
<ng-content select="p-footer"></ng-content>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|