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) { +
+

Opt-in functionality

+

For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning you must initialize them yourself.

+

Tooltips in button groups and input groups require special setting

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).

@@ -990,6 +996,10 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {

Plugin dependency

Popovers require the tooltip plugin to be included in your version of Bootstrap.

+
+

Opt-in functionality

+

For performance reasons, the Tooltip and Popover data-apis are opt-in, meaning you must initialize them yourself.

+

Popovers in button groups and input groups require special setting

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).

@@ -1021,6 +1031,7 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {

Popover bottom

+

Sed posuere consectetur est at lobortis. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.

@@ -1146,9 +1157,6 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {

Options for individual popovers can alternatively be specified through the use of data attributes, as explained above.

-

Markup

-

For performance reasons, the Tooltip and Popover data-apis are opt in. If you would like to use them just specify a selector option.

-

Methods

$().popover(options)

Initializes popovers for an element collection.