I'm developing an application in Angular, where in app.component.ts
, when the user is without internet connection while on some page, I detect it through a Javascript event and display a component with an error message and an image SVG on HTML.
The problem is that the SVG image doesn't display after going offline. I use the IMG tag in the HTML with the URL for the image that is local.
I would like to know if any solution to be able to display this SVG image when offline. Thanks in advance.