]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Updated documentation of the focus option from the modal component. (#19409)
authorPatrick van Hesteren <pavanhesteren@gmail.com>
Mon, 3 Oct 2016 06:05:59 +0000 (08:05 +0200)
committerMark Otto <markd.otto@gmail.com>
Mon, 3 Oct 2016 06:05:59 +0000 (23:05 -0700)
docs/components/modal.md

index 26676cacc338f4061d44a818e464998ee1dc59a6..dd4793d22964064796d09aa5cf8ce496612b40ba 100644 (file)
@@ -412,6 +412,12 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
        <td>true</td>
        <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>