PopoverComponent
Represents the Kendo UI Popover component for Angular. Used to display additional information that is related to a target element.
<kendo-popover>
<ng-template kendoPopoverTitleTemplate>Foo Title</ng-template>
<ng-template kendoPopoverBodyTemplate>Foo Body</ng-template>
<ng-template kendoPopoverActionsTemplate>Foo Actions</ng-template>
</kendo-popover>
Selector
kendo-popover
Inputs
Name | Type | Default | Description |
---|---|---|---|
animation |
|
|
Enables and configures the Popover animation. See example The possible options are:
|
body |
|
Represents the text that will be rendered in the Popover body section. If a | |
callout |
|
|
Determines whether a callout will be rendered along the Popover. See example |
height |
|
|
Determines the height of the popover. Numeric values are treated as pixels. |
offset |
|
|
Specifies the distance from the Popover to its anchor element in pixels. |
position |
|
Specifies the position of the Popover in relation to its anchor element. See example The possible options are:
| |
templateData |
|
Defines a callback function which returns custom data passed to the Popover templates. It exposes the current anchor element as an argument. See example | |
title |
|
Specifies the main header text of the Popover. If a | |
width |
|
|
Determines the width of the popover. Numeric values are treated as pixels. |
Events
Name | Type | Description |
---|---|---|
hidden |
|
Fires after the Popover has been hidden and the animation has ended. See example |
hide |
|
Fires when the Popover is about to be hidden (see example). The event is preventable. If canceled, the Popover will remain visible. |
show |
|
Fires before the Popover is about to be shown (see example). The event is preventable. If canceled, the Popover will not be displayed. See example |
shown |
|
Fires after the Popover has been shown and the animation has ended. See example |