Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 0cb84a7

Browse files
committed
docs(accordion): add event support documentation
- Add documentation for collapse events available for accordion
1 parent f4640b4 commit 0cb84a7

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/accordion/docs/readme.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,26 @@ The body of each accordion group is transcluded into the body of the collapsible
1616

1717
### uib-accordion-group settings
1818

19+
* `collapsed()`
20+
<small class="badge">$</small> -
21+
An optional expression called after the element finished collapsing.
22+
23+
* `collapsing()`
24+
<small class="badge">$</small> -
25+
An optional expression called before the element begins collapsing.
26+
If the expression returns a promise, animation won't start until the promise resolves.
27+
If the returned promise is rejected, collapsing will be cancelled.
28+
29+
* `expanded()`
30+
<small class="badge">$</small> -
31+
An optional expression called after the element finished expanding.
32+
33+
* `expanding()`
34+
<small class="badge">$</small> -
35+
An optional expression called before the element begins expanding.
36+
If the expression returns a promise, animation won't start until the promise resolves.
37+
If the returned promise is rejected, expanding will be cancelled.
38+
1939
* `heading`
2040
_(Default: `none`)_ -
2141
The clickable text on the group's header. You need one to be able to click on the header for toggling.

0 commit comments

Comments
 (0)