From 6f1e746d70649e17956b0db03f5cd127e5012fab Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Tue, 12 Dec 2017 05:36:54 -0400 Subject: tooltip+popover: add boundary config option (#24979) --- docs/4.0/components/popovers.md | 6 ++++++ docs/4.0/components/tooltips.md | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'docs') diff --git a/docs/4.0/components/popovers.md b/docs/4.0/components/popovers.md index 9f0472e3e..f50084708 100644 --- a/docs/4.0/components/popovers.md +++ b/docs/4.0/components/popovers.md @@ -264,6 +264,12 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap Allow to specify which position Popper will use on fallback. For more information refer to Popper.js's behavior docs + + boundary + string | element + 'scrollParent' + Overflow constraint boundary of the popover. Accepts the values of 'viewport', 'window', 'scrollParent', or an HTMLElement reference (JavaScript only). For more information refer to Popper.js's preventOverflow docs. + diff --git a/docs/4.0/components/tooltips.md b/docs/4.0/components/tooltips.md index 766b726ed..d0ef70183 100644 --- a/docs/4.0/components/tooltips.md +++ b/docs/4.0/components/tooltips.md @@ -244,6 +244,12 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap Allow to specify which position Popper will use on fallback. For more information refer to Popper.js's behavior docs + + boundary + string | element + 'scrollParent' + Overflow constraint boundary of the tooltip. Accepts the values of 'viewport', 'window', 'scrollParent', or an HTMLElement reference (JavaScript only). For more information refer to Popper.js's preventOverflow docs. + -- cgit v1.2.3