|
8 | 8 | _(Default: `false`)_ -
|
9 | 9 | Whether the element should be collapsed or not.
|
10 | 10 |
|
11 |
| -* `collapsing` |
12 |
| - <small class="badge">$</small> |
13 |
| - _(Default: `none`)_ - |
14 |
| - A callback function that gets fired before the element begins collapsing. |
15 |
| - If the function returns a promise, animation won't start until the promise resolves. |
| 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. |
16 | 15 | If the returned promise is rejected, collapsing will be cancelled.
|
17 | 16 |
|
18 |
| -* `collapsed` |
19 |
| - <small class="badge">$</small> |
20 |
| - _(Default: `none`)_ - |
21 |
| - A callback function that gets fired after the element finished collapsing. |
| 17 | +* `collapsed()` |
| 18 | + <small class="badge">$</small> - |
| 19 | + An optional expression called after the element finished collapsing. |
22 | 20 |
|
23 |
| -* `expanding` |
24 |
| - <small class="badge">$</small> |
25 |
| - _(Default: `none`)_ - |
26 |
| - A callback function that gets fired before the element begins expanding. |
27 |
| - If the function returns a promise, animation won't start until the promise resolves. |
| 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. |
28 | 25 | If the returned promise is rejected, expanding will be cancelled.
|
29 | 26 |
|
30 |
| -* `expanded` |
31 |
| - <small class="badge">$</small> |
32 |
| - _(Default: `none`)_ - |
33 |
| - A callback function that gets fired after the element finished expanding. |
| 27 | +* `expanded()` |
| 28 | + <small class="badge">$</small> - |
| 29 | + An optional expression called after the element finished expanding. |
0 commit comments