From db14bac42fcac97df5e1b11ab14f8907a3c3c2a9 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sat, 15 Aug 2015 12:07:06 -0700 Subject: [PATCH] update tooltip/popover docs --- docs/components/popovers.md | 2 ++ docs/components/tooltips.md | 1 + 2 files changed, 3 insertions(+) diff --git a/docs/components/popovers.md b/docs/components/popovers.md index c5f374a97e..2b0b26bb71 100644 --- a/docs/components/popovers.md +++ b/docs/components/popovers.md @@ -15,6 +15,8 @@ Add small overlay content, like those found in iOS, to any element for housing s Things to know when using the popover plugin: + +- Popovers rely on on the 3rd party library [tehter](http://github.hubspot.com/tether/) 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 popovers to work! - Popovers require the [tooltip plugin](/components/tooltips) as a dependency. - Popovers are opt-in for performance reasons, so **you must initialize them yourself**. - Zero-length `title` and `content` values will never show a popover. diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md index bdaa56139e..3881a8e03a 100644 --- a/docs/components/tooltips.md +++ b/docs/components/tooltips.md @@ -15,6 +15,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 on the 3rd party library [tehter](http://github.hubspot.com/tether/) 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 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).