From 527f55c2f3fecfbc1e991263d646a32de4ffcded Mon Sep 17 00:00:00 2001 From: Roman O Date: Tue, 3 Oct 2017 15:34:44 +0300 Subject: 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 --- docs/4.0/components/dropdowns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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 offset - number | string + number | string | function 0 Offset of the dropdown relative to its target. For more information refer to Popper.js's offset docs. -- cgit v1.2.3