aboutsummaryrefslogtreecommitdiff
path: root/docs/components
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-04-29 16:05:22 +0200
committerJohann-S <[email protected]>2017-05-14 11:41:19 +0200
commit3cfa5e8c055b1aaea809b404447ebdfa25269cac (patch)
treed60fe298d3566a1c964b4c31aef9b98acb9c785e /docs/components
parentdc35a840dc2bf0ce0ec8bfea6dc49e7e89106159 (diff)
downloadbootstrap-3cfa5e8c055b1aaea809b404447ebdfa25269cac.tar.xz
bootstrap-3cfa5e8c055b1aaea809b404447ebdfa25269cac.zip
Update Popper.js 1.9.1 + Update documentation about Dropdown placement
Diffstat (limited to 'docs/components')
-rw-r--r--docs/components/dropdowns.md4
-rw-r--r--docs/components/popovers.md2
-rw-r--r--docs/components/tooltips.md2
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/components/dropdowns.md b/docs/components/dropdowns.md
index 3abc27106..59006803f 100644
--- a/docs/components/dropdowns.md
+++ b/docs/components/dropdowns.md
@@ -16,7 +16,7 @@ Dropdowns are toggleable, contextual overlays for displaying lists of links and
Things to know when using the popover plugin:
-- Dropdown 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.2/umd/popper.min.js) before bootstrap.js in order for dropdowns to work!
+- Dropdown 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.9.1/umd/popper.min.js) before bootstrap.js in order for dropdowns to work!
- Popper.js handle natively the flip of Dropdown when it's outside the viewport, if you want to disable that's behavior use `flip` attribute
## Examples
@@ -548,7 +548,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
<tbody>
<tr>
<td>placement</td>
- <td>string | function</td>
+ <td>string</td>
<td>'bottom'</td>
<td>
<p>How to position the popover - top | bottom.</p>
diff --git a/docs/components/popovers.md b/docs/components/popovers.md
index dda4edd9b..bc3f9333f 100644
--- a/docs/components/popovers.md
+++ b/docs/components/popovers.md
@@ -17,7 +17,7 @@ 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 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.2/umd/popper.min.js) before bootstrap.js in order for popovers to work!
+- Popovers 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.9.1/umd/popper.min.js) before bootstrap.js in order for popovers to work!
- Popovers require the [tooltip plugin]({{ site.baseurl }}/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 ce4430548..85e5385f5 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 [Popper.js](https://popper.js.org) for positioning. You must include [popper.min.js](https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.8.2/umd/popper.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.9.1/umd/popper.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).