diff options
| author | Patrick van Hesteren <[email protected]> | 2016-10-03 08:05:59 +0200 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-10-02 23:05:59 -0700 |
| commit | 98671231ecdc3870213f77fb20d1bf3fec1e08cf (patch) | |
| tree | 44c599db007f9af4beb0b02091798a21e952e02b | |
| parent | 860e07a0e968849dd98ac5dcd2a672ce8258162c (diff) | |
| download | bootstrap-98671231ecdc3870213f77fb20d1bf3fec1e08cf.tar.xz bootstrap-98671231ecdc3870213f77fb20d1bf3fec1e08cf.zip | |
Updated documentation of the focus option from the modal component. (#19409)
| -rw-r--r-- | docs/components/modal.md | 6 |
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> |
