Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229339

Custom SVG loader not working in ionic 2

$
0
0

Yes, I’ve tried that too. Same result. The issue is that the SafeHtml is not a string. My company’s standards are to type everything (enforced by TSLint). The content option of LoadingController.create() takes only a string. I’ve even tried converting the SafeHtml with .toString(), but the results are the same. The rest of the HTML I have surrounding the SVG renders just fine, but the SVG shows up as an error that (in the HTML itself) that the sanitized HTML must be used as innerHtml="sanitizedHtml" (or something of that effect).

I would love to see a real, working example.


Viewing all articles
Browse latest Browse all 229339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>