Basic Popover
Popover Content
Default content value if
data-content={string|element|function} attribute isn't
present.
If a function is given, it will be called with its this
reference set to the element that the popover is attached to.
Popover Animation
data-bs-animation="false"
Popover Title
Default title value if title attribute isn't present.
If a function is given, it will be called with its this
reference set to the element that the popover is attached to.
Popover Container
container: 'body'. This option is particularly useful in
that it allows you to position the popover in the flow of the document
near the triggering element - which will prevent the popover from
floating away from the triggering element during a window resize
Delayed Popover
Delay showing and hiding the popover (ms) - does not apply to manual trigger type. If a number is supplied, delay is applied to both hide/show
Object structure is: delay: { "show": 500, "hide": 100 }
Popover Placement
Four options are available: top, right, bottom, and left. Directions
are mirrored when using Bootstrap in RTL. Set
data-bs-placement to change the direction.
Popover Triggers
manual
cannot be combined with any other trigger.
Popover Template
Base HTML to use when creating a popover in Bootstrap 5. The
popover's title is injected into an element with the
.popover-header class, and the content is
injected into an element with the .popover-body class.
The popover includes an .arrow element for the pointer.
The outermost wrapper of the popover must have the
.popover class, and it is automatically generated by
Bootstrap's JavaScript when initializing a popover.