angular-pnotify icon indicating copy to clipboard operation
angular-pnotify copied to clipboard

Update angular variables inside notification text

Open rodrigovallades opened this issue 8 years ago • 2 comments

Hello.

I know that this is only a wrapper for PNotify, but being built over AngularJS I thought it would be able to evalute angular $scope.

What I mean is: angular variables don't update inside the notification.

Isn't this service supposed to address this kind of thing?

Thanks in advance!

rodrigovallades avatar Dec 14 '16 12:12 rodrigovallades

Hi,

No, this is not a supported use case. And without much research, I doubt it's even possible to do using PNotify.

Notifications, by nature (unless sticky ones), are short lived. I don't quite see the use case of being able to change the notification content while being displayed. It would also create a weird UX.

jacqueslareau avatar Dec 14 '16 13:12 jacqueslareau

Thank you for the quick reply, @jacqueslareau ! Cheers

rodrigovallades avatar Dec 14 '16 13:12 rodrigovallades