ngneat / svg-icon

👻 A lightweight library that makes it easier to use SVG icons in your Angular Application
https://netbasal.com
MIT License
257 stars 35 forks source link

Add support for getting the raw svg data url #119

Closed NetanelBasal closed 1 year ago

NetanelBasal commented 1 year ago

Add an option to get the SVG ready for use with <img src="">. (data:image/svg+xml;charset=utf-8,${encoded svg})`. We can expose both from a pipe and the service.