Skip to content
/ svgx Public

If you don't like copy pasting inline SVG, you're welcome :)

Notifications You must be signed in to change notification settings

mix0000/svgx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

SVGX

If you don't like copy pasting inline SVG, you're welcome :)

Quickstart

  • Download svgx.js and import it with <script> tag.

Documentation

Add script tag to your HTML page <script src="js/svgx.js">

Initalize SVGX via

 const svgx = new Svgx();
 svgx.init() 

In html

<svg data-src="https//example.com/someSvg.svg"></svg>
or
<svg data-src="icons/someSvg.svg"></svg>

About

If you don't like copy pasting inline SVG, you're welcome :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published