angular-local-storage icon indicating copy to clipboard operation
angular-local-storage copied to clipboard

Is it possible to get a notification for a value update by a different window.

Open ahowardsky opened this issue 10 years ago • 1 comments

This could be done by add a raw event listener to "window" object. However, I guess it would be more convenient and safe if we could automatically add the listener and propagate the events as a normal(or special) notification for "setValue". Then we could just use the plain $scope.$on(). Any idea?

Thanks, Howard

ahowardsky avatar Mar 03 '15 14:03 ahowardsky

It does not seem to be possible. Perhaps follow the approach suggested in here: https://github.com/grevory/angular-local-storage/issues/170#issuecomment-81964938

ealves-pt avatar Feb 17 '16 22:02 ealves-pt