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

Commit

Permalink
feat(collapse): clean up documentation
Browse files Browse the repository at this point in the history
Closes #5194
  • Loading branch information
nonplus committed Jan 13, 2016
1 parent bca2e25 commit 941f3ba
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions src/collapse/docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,22 @@
_(Default: `false`)_ -
Whether the element should be collapsed or not.

* `collapsing`
<small class="badge">$</small>
_(Default: `none`)_ -
A callback function that gets fired before the element begins collapsing.
If the function returns a promise, animation won't start until the promise resolves.
* `collapsing()`
<small class="badge">$</small> -
An optional expression called before the element begins collapsing.
If the expression returns a promise, animation won't start until the promise resolves.
If the returned promise is rejected, collapsing will be cancelled.

* `collapsed`
<small class="badge">$</small>
_(Default: `none`)_ -
A callback function that gets fired after the element finished collapsing.
* `collapsed()`
<small class="badge">$</small> -
An optional expression called after the element finished collapsing.

* `expanding`
<small class="badge">$</small>
_(Default: `none`)_ -
A callback function that gets fired before the element begins expanding.
If the function returns a promise, animation won't start until the promise resolves.
* `expanding()`
<small class="badge">$</small> -
An optional expression called before the element begins expanding.
If the expression returns a promise, animation won't start until the promise resolves.
If the returned promise is rejected, expanding will be cancelled.

* `expanded`
<small class="badge">$</small>
_(Default: `none`)_ -
A callback function that gets fired after the element finished expanding.
* `expanded()`
<small class="badge">$</small> -
An optional expression called after the element finished expanding.

0 comments on commit 941f3ba

Please sign in to comment.