From 0ae9d28ba3e9c4f119a3ba0b370717993350be2c Mon Sep 17 00:00:00 2001 From: Johann-S Date: Fri, 5 May 2017 21:22:55 +0200 Subject: Add fallbackPlacement option for Tooltip and Popover --- docs/components/popovers.md | 7 +++++++ docs/components/tooltips.md | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'docs/components') diff --git a/docs/components/popovers.md b/docs/components/popovers.md index bc3f9333f..e73f17d46 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 0 Offset of the popover relative to its target. For more information refer to Popper.js's offset docs. + + fallbackPlacement + string | array + ['top', 'right', 'bottom', 'left'] + Allow to specify which position Popper will use on fallback. For more information refer to + Popper.js's behavior docs + diff --git a/docs/components/tooltips.md b/docs/components/tooltips.md index 85e5385f5..7b3133c0e 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 0 Offset of the tooltip relative to its target. For more information refer to Popper.js's offset docs. + + fallbackPlacement + string | array + ['top', 'right', 'bottom', 'left'] + Allow to specify which position Popper will use on fallback. For more information refer to + Popper.js's behavior docs + -- cgit v1.2.3