diff --git a/javascript.html b/javascript.html index 0dffa5db8d..40ea1a9240 100644 --- a/javascript.html +++ b/javascript.html @@ -970,6 +970,10 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {
When using popovers on elements within a .btn-group
or an .input-group
, you'll have to specify the option container: 'body'
(documented below) to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the popover is triggered).
To add a popover to a disabled
or .disabled
element, put the element inside of a <div>
or <span>
, and apply the popover to that element instead.
Four options are available: top, right, bottom, and left aligned.