Skip to content

phaistonian/SVGInnerHTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SVGInnerHTML

SVGInnerHTML.js is a small Javascript shim that provides support for the .innerHTML attribute (setting and getting) for SVG and G elements.

Some examples

  • mySVGElement.innerHTML = 'hello world';
  • myGElement.innerHTML = '';
  • alert(mySVGElement.innerHTML);

About

.innerHTML (set and get) support for SVG (and G) elements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published