aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPatrick van Hesteren <[email protected]>2016-10-03 08:05:59 +0200
committerMark Otto <[email protected]>2016-10-02 23:05:59 -0700
commit98671231ecdc3870213f77fb20d1bf3fec1e08cf (patch)
tree44c599db007f9af4beb0b02091798a21e952e02b /docs
parent860e07a0e968849dd98ac5dcd2a672ce8258162c (diff)
downloadbootstrap-98671231ecdc3870213f77fb20d1bf3fec1e08cf.tar.xz
bootstrap-98671231ecdc3870213f77fb20d1bf3fec1e08cf.zip
Updated documentation of the focus option from the modal component. (#19409)
Diffstat (limited to 'docs')
-rw-r--r--docs/components/modal.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/components/modal.md b/docs/components/modal.md
index 26676cacc..dd4793d22 100644
--- a/docs/components/modal.md
+++ b/docs/components/modal.md
@@ -413,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>