PopupComponent
Represents the Kendo UI Popup component for Angular.
<button #anchor (click)="show = !show">Toggle</button>
<kendo-popup *ngIf="show" [anchor]="anchor">
<strong>Popup content!</strong>
</kendo-popup>
Selector
kendo-popup
Export Name
Accessible in templates as #kendoPopupInstance="kendo-popup"
Inputs
Name | Type | Default | Description |
---|---|---|---|
anchor |
|
Sets the element to use as an anchor. The Popup opens next to this element. (See example). | |
anchorAlign |
|
|
Sets the anchor pivot point (see example). |
animate |
|
|
Controls the Popup animation. By default, the opening and closing animations are enabled (see example). |
collision |
|
|
Sets the collision behavior of the Popup (see example). |
copyAnchorStyles |
|
|
Controls whether the component copies the |
margin |
|
Sets the margin value in pixels. Adds blank space between the Popup and the anchor (see example). | |
offset |
|
|
Sets the absolute position of the element (see example).
The Popup opens next to this point. The Popup pivot point is defined by the |
popupAlign |
|
|
Sets the pivot point of the Popup (see example). |
popupClass |
|
Sets a list of CSS classes to add to the internal animated element (see example).
| |
positionMode |
|
|
Sets the position mode of the component. By default, the Popup uses fixed positioning. To use absolute positioning, set this option to To support mobile browsers with the zoom option, use the |
Events
Name | Type | Description |
---|---|---|
anchorViewportLeave |
|
Fires when the anchor scrolls outside the screen boundaries. (See example). |
close |
|
Fires after the component closes. |
open |
|
Fires after the component opens and the opening animation ends. |
positionChange |
|
Fires after the component is opened and the Popup is positioned. |