aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/tooltips.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-24 19:30:17 -0700
committerMark Otto <[email protected]>2014-03-24 19:30:17 -0700
commit39fec66fc4cb529d05f2b116abedf1bb2bdb65a8 (patch)
tree55cdb65256a7313bfda85416a1c100c0adb62e40 /docs/_includes/js/tooltips.html
parent4a2d337bf5f329eac1ca16208414ec1ebfe0546e (diff)
parent6f6bce5944bd0e6ab36ab6b39339f381d8a80b2a (diff)
downloadbootstrap-39fec66fc4cb529d05f2b116abedf1bb2bdb65a8.tar.xz
bootstrap-39fec66fc4cb529d05f2b116abedf1bb2bdb65a8.zip
Merge branch 'master' into fat-9461
Diffstat (limited to 'docs/_includes/js/tooltips.html')
-rw-r--r--docs/_includes/js/tooltips.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html
index 2656556be..b952e8504 100644
--- a/docs/_includes/js/tooltips.html
+++ b/docs/_includes/js/tooltips.html
@@ -134,6 +134,14 @@ $('#example').tooltip(options)
<p>Appends the tooltip to a specific element. Example: <code>container: 'body'</code></p>
</td>
</tr>
+ <tr>
+ <td>viewport</td>
+ <td>string | object</td>
+ <td>{ selector: 'body', padding: 0 }</td>
+ <td>
+ <p>Keeps the tooltip within the bounds of this element. Example: <code>viewport: '#viewport'</code> or <code>{ selector: '#viewport', padding: 0 }</code></p>
+ </td>
+ </tr>
</tbody>
</table>
</div><!-- /.table-responsive -->