Visualizations

ng-inline-svg

Angular ng Inline SVG by Arkon

Angular 2+ directive for inserting an SVG file inline within an element.

Project website https://github.com/arkon/ng-inline-svg

Documentation Readme

License MIT

Demo https://echeung.me/ng-inline-svg/

Dependencies

none

NPM

https://www.npmjs.com/package/ng-inline-svg

npm i ng-inline-svg

Features

  • Caches the SVG based on the absolute URL
  • replace and inject option
  • removeSVGAttributes
  • forceEvalStyles (for Internet Explorer 11)
  • image replacer option
  • server-side rendering

You may also like...