Is dynamic reference supported ?
hugsbrugs opened this issue · 3 comments
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 ?
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?
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
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'
).