Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(collapse): add eventemitter #576

Closed
otelnov opened this issue Jun 3, 2016 · 1 comment
Closed

feat(collapse): add eventemitter #576

otelnov opened this issue Jun 3, 2016 · 1 comment

Comments

@otelnov
Copy link
Contributor

otelnov commented Jun 3, 2016

  • collapsed() - An optional expression called after the element finished collapsing.
  • collapsing() - 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.
  • expanded() - An optional expression called after the element finished expanding.
  • expanding() - 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.
@otelnov otelnov changed the title feat(collapse): add callbacks feat(collapse): add eventemitter Jun 3, 2016
@Dinistro
Copy link
Contributor

Dinistro commented Jun 6, 2016

I would work with Observables and not with Promises.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants