2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03:00

Implement container option for tooltips and popovers.

This commit is contained in:
andyexeter
2016-09-15 10:33:11 +01:00
committed by Bardi Harborow
parent 308bc77dbb
commit 0ded703f6b
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
</tr>
<tr>
<td>container</td>
<td>string | false</td>
<td>string | element | false</td>
<td>false</td>
<td>
<p>Appends the tooltip to a specific element. Example: <code>container: 'body'</code>. This option is particularly useful in that it allows you to position the tooltip in the flow of the document near the triggering element - which will prevent the tooltip from floating away from the triggering element during a window resize.</p>