aboutsummaryrefslogtreecommitdiff
path: root/docs/components/modal.md
diff options
context:
space:
mode:
authorPierre-Denis Vanduynslager <[email protected]>2016-10-20 14:25:00 -0400
committerPierre-Denis Vanduynslager <[email protected]>2016-10-20 14:25:00 -0400
commit9ee304b973a5675a7a59406fdaeef20870f566ce (patch)
tree8820ad86b8cd5899ea1d2c9050881b4ff56c8fee /docs/components/modal.md
parent27cf3d675c80029ff2cea1e14903886c00119e37 (diff)
parentb5890e0608ad2262cde4a38e90afa19f1cb5d852 (diff)
downloadbootstrap-9ee304b973a5675a7a59406fdaeef20870f566ce.tar.xz
bootstrap-9ee304b973a5675a7a59406fdaeef20870f566ce.zip
Merge branch 'twbs/v4-dev' into v4-dev
Diffstat (limited to 'docs/components/modal.md')
-rw-r--r--docs/components/modal.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/components/modal.md b/docs/components/modal.md
index 55a0878b6..72cdbe565 100644
--- a/docs/components/modal.md
+++ b/docs/components/modal.md
@@ -1,6 +1,7 @@
---
layout: docs
title: Modal
+description: Learn how to use Bootstrap's modals to add dialog prompts to your site.
group: components
---
@@ -297,7 +298,7 @@ To take advantage of the Bootstrap grid system within a modal, just nest `.conta
</div>
</div>
<div class="modal-footer">
- <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
+ <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
@@ -412,6 +413,12 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
<td>Closes the modal when escape key is pressed</td>
</tr>
<tr>
+ <td>focus</td>
+ <td>boolean</td>
+ <td>true</td>
+ <td>Puts the focus on the modal when initialized.</td>
+ </tr>
+ <tr>
<td>show</td>
<td>boolean</td>
<td>true</td>