aboutsummaryrefslogtreecommitdiff
path: root/docs/components/tooltips.md
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-04-18 14:02:24 +0200
committerJohann-S <[email protected]>2017-05-14 11:41:19 +0200
commitd5fabf8de50710c5a09ecd91f4b9e961e67d7937 (patch)
tree584c682e4f30241c2b767a7633d99206961337ef /docs/components/tooltips.md
parentc4b4d534a4e935db72a37b54f0f41f4dba4c83de (diff)
downloadbootstrap-d5fabf8de50710c5a09ecd91f4b9e961e67d7937.tar.xz
bootstrap-d5fabf8de50710c5a09ecd91f4b9e961e67d7937.zip
Remove totaly Tether from documentation + dependencies
Diffstat (limited to 'docs/components/tooltips.md')
-rw-r--r--docs/components/tooltips.md14
1 files changed, 4 insertions, 10 deletions
diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md
index 393d94c05..e8a7ce96f 100644
--- a/docs/components/tooltips.md
+++ b/docs/components/tooltips.md
@@ -16,7 +16,7 @@ Inspired by the excellent Tipsy jQuery plugin written by Jason Frame. Tooltips a
Things to know when using the tooltip plugin:
-- Tooltips rely on the 3rd party library [Tether](http://tether.io/) for positioning. You must include [tether.min.js](https://github.com/HubSpot/tether/blob/master/dist/js/tether.min.js) before bootstrap.js in order for tooltips to work!
+- Tooltips rely on the 3rd party library [Popper.js](https://popper.js.org) for positioning. You must include [popper.min.js](https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.8.1/popper.es5.min.js) before bootstrap.js in order for tooltips to work!
- Tooltips are opt-in for performance reasons, so **you must initialize them yourself**.
- Tooltips with zero-length titles are never displayed.
- Specify `container: 'body'` to avoid rendering problems in more complex components (like our input groups, button groups, etc).
@@ -233,16 +233,10 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
<td>How tooltip is triggered - click | hover | focus | manual. You may pass multiple triggers; separate them with a space. `manual` cannot be combined with any other trigger.</td>
</tr>
<tr>
- <td>constraints</td>
- <td>Array</td>
- <td>[]</td>
- <td>An array of constraints - passed through to Tether. For more information refer to Tether's <a href="http://tether.io/#constraints">constraint docs</a>.</td>
- </tr>
- <tr>
<td>offset</td>
- <td>string</td>
- <td>'0 0'</td>
- <td>Offset of the tooltip relative to its target. For more information refer to Tether's <a href="http://tether.io/#offset">offset docs</a>.</td>
+ <td>number | string</td>
+ <td>0</td>
+ <td>Offset of the tooltip relative to its target. For more information refer to Popper.js's <a href="https://popper.js.org/popper-documentation.html#modifiers..offset.offset">offset docs</a>.</td>
</tr>
</tbody>
</table>