mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
Add show and hide methods to dropdown (#27370)
This commit is contained in:
@@ -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. |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user