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/site/docs
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2019-08-18 22:15:21 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-08-27 16:32:25 +0300
commit7652d326e42b471bd3c934debfaf956fa4c67465 (patch)
tree3d1d841179739e3035afcafaee1f63112d6b798c /site/docs
parent6381c63fb1c81d87b38327a56c0d471d20cbd1aa (diff)
Backport #29251
allow to pass popper.js configuration for tooltip/popover and dropdown
Diffstat (limited to 'site/docs')
-rw-r--r--site/docs/4.3/components/dropdowns.md6
-rw-r--r--site/docs/4.3/components/popovers.md6
-rw-r--r--site/docs/4.3/components/tooltips.md6
3 files changed, 18 insertions, 0 deletions
diff --git a/site/docs/4.3/components/dropdowns.md b/site/docs/4.3/components/dropdowns.md
index 417d9f5eab..736e581650 100644
--- a/site/docs/4.3/components/dropdowns.md
+++ b/site/docs/4.3/components/dropdowns.md
@@ -875,6 +875,12 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
<td>'dynamic'</td>
<td>By default, we use Popper.js for dynamic positioning. Disable this with <code>static</code>.</td>
</tr>
+ <tr>
+ <td>popperConfig</td>
+ <td>null | object</td>
+ <td>null</td>
+ <td>To change Bootstrap's default Popper.js config, see <a href="https://popper.js.org/popper-documentation.html#Popper.Defaults">Popper.js's configuration</a></td>
+ </tr>
</tbody>
</table>
diff --git a/site/docs/4.3/components/popovers.md b/site/docs/4.3/components/popovers.md
index e48768c8c0..44d2a321bc 100644
--- a/site/docs/4.3/components/popovers.md
+++ b/site/docs/4.3/components/popovers.md
@@ -284,6 +284,12 @@ Note that for security reasons the `sanitize`, `sanitizeFn` and `whiteList` opti
<td>null</td>
<td>Here you can supply your own sanitize function. This can be useful if you prefer to use a dedicated library to perform sanitization.</td>
</tr>
+ <tr>
+ <td>popperConfig</td>
+ <td>null | object</td>
+ <td>null</td>
+ <td>To change Bootstrap's default Popper.js config, see <a href="https://popper.js.org/popper-documentation.html#Popper.Defaults">Popper.js's configuration</a></td>
+ </tr>
</tbody>
</table>
diff --git a/site/docs/4.3/components/tooltips.md b/site/docs/4.3/components/tooltips.md
index c58a7c00cf..692819fa38 100644
--- a/site/docs/4.3/components/tooltips.md
+++ b/site/docs/4.3/components/tooltips.md
@@ -276,6 +276,12 @@ Note that for security reasons the `sanitize`, `sanitizeFn` and `whiteList` opti
<td>null</td>
<td>Here you can supply your own sanitize function. This can be useful if you prefer to use a dedicated library to perform sanitization.</td>
</tr>
+ <tr>
+ <td>popperConfig</td>
+ <td>null | object</td>
+ <td>null</td>
+ <td>To change Bootstrap's default Popper.js config, see <a href="https://popper.js.org/popper-documentation.html#Popper.Defaults">Popper.js's configuration</a></td>
+ </tr>
</tbody>
</table>