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

Added fallback icon in case of broken link

Open javicebrian opened this issue 7 years ago • 2 comments

Hi czeckd!

Please find a attached a proposal for a implementation of a fallback icon in case the icon url is broken. As I found myself the component dispatching a global exception that can't be handled in a local level.

Sorry for the style changes applied by my IDE, using the flag w=1 should make fairly easy to find the real changes, and also it may need some auto-format from your side.

Let me know if you find this useful or you have any suggestion.

thanks!!

J =)

javicebrian avatar Apr 04 '18 14:04 javicebrian

This feature requested in #113, but it never got merged into main and there are conflicts. Do you have cycles to resolve the conflicts? Also, what do you think would be a good way to notify of the error?

czeckd avatar Jan 05 '21 21:01 czeckd

Currently experiencing an infinite re-render when the link is broken.

CodenNerd avatar Nov 21 '22 17:11 CodenNerd