]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Offset option for dropdown can be function (#24222)
authorRoman O <ceo.roman@gmail.com>
Tue, 3 Oct 2017 12:34:44 +0000 (15:34 +0300)
committerJohann-S <johann.servoire@gmail.com>
Tue, 3 Oct 2017 12:34:44 +0000 (14:34 +0200)
commit527f55c2f3fecfbc1e991263d646a32de4ffcded
tree1dbdccbbbe52d2e2982e157e7a0ca0e6ec0c8b5a
parent898708dd2770645c0987fdcb52e12e1c739bca88
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
js/src/dropdown.js