diff options
| author | Thomas McDonald <[email protected]> | 2015-08-25 10:00:36 -0700 |
|---|---|---|
| committer | Thomas McDonald <[email protected]> | 2015-08-25 10:00:36 -0700 |
| commit | 75374ce51109dd91a87d9b01c0a606e1ce1d3266 (patch) | |
| tree | e8bff7ae248124347f579e30830325ad0a468435 /docs/components | |
| parent | 757e71252f3c45f885403ef2603878ca87ca419b (diff) | |
| parent | ab4c07dbdd3da49a4722c319015384c0d4649969 (diff) | |
| download | bootstrap-75374ce51109dd91a87d9b01c0a606e1ce1d3266.tar.xz bootstrap-75374ce51109dd91a87d9b01c0a606e1ce1d3266.zip | |
Merge branch 'v4-dev' into fix-travis-v4
Diffstat (limited to 'docs/components')
| -rw-r--r-- | docs/components/dropdowns.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/components/dropdowns.md b/docs/components/dropdowns.md index 037e0d1cf..5e153d596 100644 --- a/docs/components/dropdowns.md +++ b/docs/components/dropdowns.md @@ -4,7 +4,7 @@ title: Dropdowns group: components --- -Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They're made interactive with the included Bootstrap dropdown JavaScript plugin. +Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They're made interactive with the included Bootstrap dropdown JavaScript plugin. They're toggled by clicking, not by hovering; this is [an intentional design decision.](http://markdotto.com/2012/02/27/bootstrap-explained-dropdowns/) ## Contents @@ -34,10 +34,10 @@ You can optionally use `<button>` elements in your dropdowns instead of `<a>`s. {% example html %} <div class="dropdown open"> - <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> + <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> Dropdown </button> - <div class="dropdown-menu" aria-labelledby="dropdownMenu1"> + <div class="dropdown-menu" aria-labelledby="dropdownMenu2"> <button class="dropdown-item" type="button">Action</button> <button class="dropdown-item" type="button">Another action</button> <button class="dropdown-item" type="button">Something else here</button> |
