diff options
| author | Johann-S <[email protected]> | 2017-09-25 12:41:54 +0200 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2017-09-25 13:23:13 +0200 |
| commit | 9b8356ba52d89fd065d6061979b5946b8c5f44fa (patch) | |
| tree | 3c78f94c599eb0ba9d052742abb8e8fe5d926fba /docs | |
| parent | 3abf8a0e5525d30914ce37ebb98240a476cb6f17 (diff) | |
| download | bootstrap-9b8356ba52d89fd065d6061979b5946b8c5f44fa.tar.xz bootstrap-9b8356ba52d89fd065d6061979b5946b8c5f44fa.zip | |
Collapse - Allow to pass jQuery object or DOM element to the parent option
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/4.0/components/collapse.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/4.0/components/collapse.md b/docs/4.0/components/collapse.md index 2797658e5..536cc177f 100644 --- a/docs/4.0/components/collapse.md +++ b/docs/4.0/components/collapse.md @@ -186,9 +186,9 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap <tbody> <tr> <td>parent</td> - <td>selector</td> + <td>selector | jQuery object | DOM element </td> <td>false</td> - <td>If a selector is provided, then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior - this is dependent on the <code>card</code> class). The attribute has to be set on the target collapsible area.</td> + <td>If parent is provided, then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior - this is dependent on the <code>card</code> class). The attribute has to be set on the target collapsible area.</td> </tr> <tr> <td>toggle</td> |
