aboutsummaryrefslogtreecommitdiff
path: root/site/docs
diff options
context:
space:
mode:
authorgalczo5 <[email protected]>2018-10-20 13:27:51 +0200
committerXhmikosR <[email protected]>2018-10-20 14:27:51 +0300
commit6cbcd03efbcb58e37e4a4d31048758c82ed6c849 (patch)
treec8ae64576c1c56d7f4f944ab89fe381ffe5976e2 /site/docs
parent5088f02730a38bf833db3a8ac1f3c53c154278bc (diff)
downloadbootstrap-6cbcd03efbcb58e37e4a4d31048758c82ed6c849.tar.xz
bootstrap-6cbcd03efbcb58e37e4a4d31048758c82ed6c849.zip
Add `show` and `hide` methods to dropdown (#27370)
Diffstat (limited to 'site/docs')
-rw-r--r--site/docs/4.1/components/dropdowns.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/site/docs/4.1/components/dropdowns.md b/site/docs/4.1/components/dropdowns.md
index c9daf5518..ab61390d4 100644
--- a/site/docs/4.1/components/dropdowns.md
+++ b/site/docs/4.1/components/dropdowns.md
@@ -839,6 +839,8 @@ Note when `boundary` is set to any value other than `'scrollParent'`, the style
| Method | Description |
| --- | --- |
| `$().dropdown('toggle')` | Toggles the dropdown menu of a given navbar or tabbed navigation. |
+| `$().dropdown('show')` | Shows the dropdown menu of a given navbar or tabbed navigation. |
+| `$().dropdown('hide')` | Hides the dropdown menu of a given navbar or tabbed navigation. |
| `$().dropdown('update')` | Updates the position of an element's dropdown. |
| `$().dropdown('dispose')` | Destroys an element's dropdown. |