Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2017-05-05 22:22:55 +0300
committerJohann-S <johann.servoire@gmail.com>2017-05-14 12:41:19 +0300
commit0ae9d28ba3e9c4f119a3ba0b370717993350be2c (patch)
treeb11d85e06c3b85bad85ce68d95384cdffd9a31f7 /docs
parentab7dc8ae2af499d752f011a1957f9f671cc93175 (diff)
Add fallbackPlacement option for Tooltip and Popover
Diffstat (limited to 'docs')
-rw-r--r--docs/components/popovers.md7
-rw-r--r--docs/components/tooltips.md7
2 files changed, 14 insertions, 0 deletions
diff --git a/docs/components/popovers.md b/docs/components/popovers.md
index bc3f9333f7..e73f17d464 100644
--- a/docs/components/popovers.md
+++ b/docs/components/popovers.md
@@ -264,6 +264,13 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
<td>0</td>
<td>Offset of the popover 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>
+ <tr>
+ <td>fallbackPlacement</td>
+ <td>string | array</td>
+ <td>['top', 'right', 'bottom', 'left']</td>
+ <td>Allow to specify which position Popper will use on fallback. For more information refer to
+ Popper.js's <a href="https://popper.js.org/popper-documentation.html#modifiers..flip.behavior">behavior docs</a></td>
+ </tr>
</tbody>
</table>
diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md
index 85e5385f56..7b3133c0e2 100644
--- a/docs/components/tooltips.md
+++ b/docs/components/tooltips.md
@@ -242,6 +242,13 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
<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>
+ <tr>
+ <td>fallbackPlacement</td>
+ <td>string | array</td>
+ <td>['top', 'right', 'bottom', 'left']</td>
+ <td>Allow to specify which position Popper will use on fallback. For more information refer to
+ Popper.js's <a href="https://popper.js.org/popper-documentation.html#modifiers..flip.behavior">behavior docs</a></td>
+ </tr>
</tbody>
</table>