AngularJS Directive To Download An SVG Element As An SVG File

Author:Hypercubed
Views Total:no views
Official Page:Go to website
Publish Date:April 2, 2015
License:MIT

Description:

AngularJS directive to download an svg element as an SVG file, including CSS defined styles.

Features

  • Downloads the first <svg> element by default.
  • Download <svg> by id.
  • Copies svg element styles as rendered in the browser, including styles defined in CSS stylesheets.
  • Copies only svg relevant and non-default styles.

Preview:

AngularJS Directive To Download An SVG Element As An SVG File


You Might Be Interested In:

Tags:

Add Comment