New to Kendo UI for AngularStart a free 30-day trial

Definition

Package:@progress/kendo-angular-popup

Selector:kendo-popup

Export Name:Accessible in templates as #kendo-popupInstance="kendo-popup"

Syntax:

html
<button #anchor (click)="show = !show">Toggle</button>
@if (show) {
  <kendo-popup [anchor]="anchor">
    <strong>Popup content!</strong>
  </kendo-popup>
}

Inputs

anchor

HTMLElement | ElementRef​<any>

Sets the element to use as an anchor. The Popup opens next to this element. (See example).

Sets the anchor pivot point (see example).

Controls the Popup animation. By default, the opening and closing animations are enabled (see example).

Default:

true

Sets the collision behavior of the Popup (see example).

Controls whether the component copies the anchor font styles.

Default:

false

Sets the margin value in pixels. Adds blank space between the Popup and the anchor (see example).

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 option. The boundary detection uses the window viewport.

Default:

DEFAULT_OFFSET

Sets the pivot point of the Popup (see example).

popupClass

string | object | string[] | Set​<string>

Sets a list of CSS classes to add to the internal animated element (see example).

To style the content of the Popup, use this property binding.

Sets the position mode of the component. By default, the Popup uses fixed positioning. To use absolute positioning, set this option to absolute.

To support mobile browsers with the zoom option, use the absolute positioning of the Popup.

Default:

'fixed'

Events

Fires when the anchor scrolls outside the screen boundaries. (See example).

Fires after the component closes.

Fires after the component opens and the opening animation ends.

Fires after the component is opened and the Popup is positioned.