Skip to content

Commit da6b9ed

Browse files
Merge pull request GeekyAnts#205 from GeekyAnts/srishti/accordion_callbacks
Adding onOpen and onClose accordion callbacks
2 parents 6a44f57 + 049e3f5 commit da6b9ed

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

_book/docs/components/accordion/Accordion.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,5 +137,17 @@ export default {
137137
<td> - </td>
138138
<td>Custom design of Accordion content</td>
139139
</tr>
140+
<tr>
141+
<td>onAccordionOpen</td>
142+
<td> Function </td>
143+
<td> - </td>
144+
<td>Callback that is executed when Accordion is opened. It provides two additional metadata: item and index </td>
145+
</tr>
146+
<tr>
147+
<td>onAccordionClose</td>
148+
<td> Function </td>
149+
<td> - </td>
150+
<td>Callback that is executed when Accordion is closed. It provides two additional metadata: item and index </td>
151+
</tr>
140152
</tbody>
141153
</table><br />

0 commit comments

Comments
 (0)