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

Is dynamic reference supported ? #99

Open
hugsbrugs opened this issue Jul 17, 2015 · 3 comments
Open

Is dynamic reference supported ? #99

hugsbrugs opened this issue Jul 17, 2015 · 3 comments

Comments

@hugsbrugs
Copy link

Hi there,

I'm trying to implement dynamic growl notification in an ng-repeat loop so my code looks like :

<div growl="inline" reference="solution-comment-{{solution.id}}"></div>
growl.success('SUCCESS_SAVING_COMMENT', {referenceId: 'solution-comment-'+solution_id , ttl: 5000});

But notifications are displayed in the general growl container and not the inline one. Is this feature supported and if yes could you please point me where my error is ?

@flaviocysne
Copy link

reference directive attribute has already been defined as "@", so this issue may be resolved.

@hugsbrugs could you check this? If it isn't resolved yet, could you provide an example on CodePen or Plunkr to help tracking the problem?

@hugsbrugs
Copy link
Author

Hey, I've been using uib-alert instead of growl in case of multiple inline notifications and I unfortunately doesn't have time to test something I won't use right now, sorry, thanks for support

@flaviocysne
Copy link

flaviocysne commented May 31, 2016

Code sample created: http://codepen.io/flaviocysne/pen/yJyOBg

Issue has not been resolved yet.
Maybe because angular-growl-2 angular directive is not declared as element (restrict: 'E').

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

2 participants