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

Commit a755943

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

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
@@ -4,6 +4,26 @@ The body of each accordion group is transcluded into the body of the collapsible
44

55
### uib-accordion settings
66

7+
* `collapsed()`
8+
<small class="badge">$</small> -
9+
An optional expression called after the element finished collapsing.
10+
11+
* `collapsing()`
12+
<small class="badge">$</small> -
13+
An optional expression called before the element begins collapsing.
14+
If the expression returns a promise, animation won't start until the promise resolves.
15+
If the returned promise is rejected, collapsing will be cancelled.
16+
17+
* `expanded()`
18+
<small class="badge">$</small> -
19+
An optional expression called after the element finished expanding.
20+
21+
* `expanding()`
22+
<small class="badge">$</small> -
23+
An optional expression called before the element begins expanding.
24+
If the expression returns a promise, animation won't start until the promise resolves.
25+
If the returned promise is rejected, expanding will be cancelled.
26+
727
* `close-others`
828
<small class="badge">$</small>
929
<small class="badge">C</small>

0 commit comments

Comments
 (0)