aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRoman O <[email protected]>2017-10-03 15:34:44 +0300
committerJohann-S <[email protected]>2017-10-03 14:34:44 +0200
commit527f55c2f3fecfbc1e991263d646a32de4ffcded (patch)
tree1dbdccbbbe52d2e2982e157e7a0ca0e6ec0c8b5a /docs
parent898708dd2770645c0987fdcb52e12e1c739bca88 (diff)
downloadbootstrap-527f55c2f3fecfbc1e991263d646a32de4ffcded.tar.xz
bootstrap-527f55c2f3fecfbc1e991263d646a32de4ffcded.zip
Offset option for dropdown can be function (#24222)
* Offset option can be function (Popper.js) * Fix...add function type for offset option * Remove constants for popper config * Optimize code. Remove foreach loop. * Refactoring. Remove getOffset method
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/components/dropdowns.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/components/dropdowns.md b/docs/4.0/components/dropdowns.md
index cdf713b03..d38b410c7 100644
--- a/docs/4.0/components/dropdowns.md
+++ b/docs/4.0/components/dropdowns.md
@@ -588,7 +588,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
<tbody>
<tr>
<td>offset</td>
- <td>number | string</td>
+ <td>number | string | function</td>
<td>0</td>
<td>Offset of the dropdown 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>