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

It is not possible to set an default onDismiss callback while using the directive #38

Open
Colorfulstan opened this issue May 20, 2016 · 0 comments

Comments

@Colorfulstan
Copy link

root:
https://github.com/sachinchoolur/angular-flash/blob/master/src/angular-flash.js#L63-L68

When the directives link-function is called, there are 2 options:

  1. there is a callback on the scope and the default-config gets overridden (as should be expected)
  2. there is no callback on the scope and the default-config still get's overridden since Flash.setOnDismiss is used there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant