diff --git a/javascript.html b/javascript.html index 48aaf2cd9f74..e9f14ee86f0b 100644 --- a/javascript.html +++ b/javascript.html @@ -461,6 +461,8 @@

Via data attributes

Dropdown + + @@ -819,6 +821,10 @@

Four directions

+
+

Opt-in functionality

+

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

+

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

@@ -985,6 +991,10 @@

Examples

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. If you would like to use them just specify a selector option.

+

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

@@ -1016,6 +1026,7 @@

Popover right

Popover bottom

+

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

@@ -1141,9 +1152,6 @@

Data attributes for individual popovers

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.