diff --git a/javascript.html b/javascript.html index bc6d132382..8305632ac1 100644 --- a/javascript.html +++ b/javascript.html @@ -461,6 +461,8 @@ $('#myModal').on('hidden.bs.modal', function () { Dropdown + +
@@ -824,6 +826,10 @@ $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { +For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning you must initialize them yourself.
+When using tooltips 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 tooltip is triggered).
Popovers require the tooltip plugin to be included in your version of Bootstrap.
For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning you must initialize them yourself.
+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).
Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.
Options for individual popovers can alternatively be specified through the use of data attributes, as explained above.
For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.
-Initializes popovers for an element collection.