You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
In my application, before expanding a collapsed section, I need to populate the contents. Similarly, after collapsing an expanded section, I'd like to do some cleanup.
It would be great if the uib-collapse supported additional attributes that would be evaluated before and after the collapse animation, e.g. expanding, expanded, collapsing, collapsed. If the "before" attribute (collapsing/expanding) returns a promise, the directive should wait for it to resolve before beginning the collapse/expand animation.
Specifically, I'd like to be able to do something like this:
<divuib-collapse="isOpen" expanding="setupContent()" collapsed="cleanupContent()"><!-- complex & expensive content goes here --></div>
FWIW, I have an implementation and can create a PR if there is general interest in this...
The text was updated successfully, but these errors were encountered:
In my application, before expanding a collapsed section, I need to populate the contents. Similarly, after collapsing an expanded section, I'd like to do some cleanup.
It would be great if the
uib-collapse
supported additional attributes that would be evaluated before and after the collapse animation, e.g.expanding
,expanded
,collapsing
,collapsed
. If the "before" attribute (collapsing
/expanding
) returns a promise, the directive should wait for it to resolve before beginning the collapse/expand animation.Specifically, I'd like to be able to do something like this:
FWIW, I have an implementation and can create a PR if there is general interest in this...
The text was updated successfully, but these errors were encountered: