On this page
Angular Popover Component
Documentation and examples for adding Angular Popovers to any element on your site.
Use CoreUI Angular popover directive to create Angular popovers like those found in iOS, to any element on your site. Tutorials and examples for adding custom CoreUI Angular popovers.
Examples
Html content
- Click the button below to see a popover:
Loading...
Loading...
Directions
- Hover over the buttons below to see the four popover directions: top, right, bottom, and left. Directions are mirrored when using CoreUI in RTL.
Loading...
Loading...
API reference
Popover
import { PopoverModule } from '@coreui/angular';
@NgModule({
imports: [PopoverModule,]
})
export class AppModule() { }
Props
Inputs
prop | description | type | default | notes |
---|---|---|---|---|
cPopover |
Content of a popover. | string , TemplateRef |
- | required |
cPopoverOptions |
Optional popper Options object, takes precedence over cPopoverPlacement. | Options |
- | |
cPopoverPlacement |
Placement of a popover. | top , bottom , left , right |
top |
string |
cPopoverTrigger |
Event handlers to toggle popover. Specify one trigger or an array of them. | Triggers , Triggers[] |
hover |
string, string[] |
cPopoverVisible |
Toggle the visibility of a popover. | boolean |
false |