aboutsummaryrefslogtreecommitdiff
path: root/docs/components/dropdowns.md
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-05-27 23:01:14 -0700
committerMark Otto <[email protected]>2017-05-27 23:01:14 -0700
commitc72cc98bd56fb50259c84a1fced38751009eb930 (patch)
treef4da17ed9826234724c2db48421e744c003b9e1c /docs/components/dropdowns.md
parent5a3a356651f9ed0302ec4e4b629f1974caf26bc0 (diff)
downloadbootstrap-c72cc98bd56fb50259c84a1fced38751009eb930.tar.xz
bootstrap-c72cc98bd56fb50259c84a1fced38751009eb930.zip
update components docs
Diffstat (limited to 'docs/components/dropdowns.md')
-rw-r--r--docs/components/dropdowns.md12
1 files changed, 4 insertions, 8 deletions
diff --git a/docs/components/dropdowns.md b/docs/components/dropdowns.md
index 13f49a32f..306fb7f2b 100644
--- a/docs/components/dropdowns.md
+++ b/docs/components/dropdowns.md
@@ -3,18 +3,14 @@ layout: docs
title: Dropdowns
description: Toggle contextual overlays for displaying lists of links and more with the Bootstrap dropdown plugin.
group: components
+toc: true
---
-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
-
-* Will be replaced with the ToC, excluding the "Contents" header
-{:toc}
-
## Overview
-Things to know when using the popover 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/)
+
+Things to know when using the dropdown plugin:
- Dropdown rely on the 3rd party library [Popper.js](https://popper.js.org) for positioning. You must include [popper.min.js](https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.9.9/umd/popper.min.js) before bootstrap.js in order for dropdowns to work!
- Popper.js handle natively the flip of Dropdown when it's outside the viewport, if you want to disable that's behavior use `flip` attribute