jsyg
v1.1.0
Published
Core of JSYG framework
Downloads
1,023
Maintainers
Readme
JSYG
Core of JSYG framework
It's just a pooling of modules :
Each of these modules can be used standalone if you don't need JSYG framework.
Installation
with npm
npm install jsyg
Usage
with module loader
import JSYG from "jsyg"
JSYG("svg").attr({width:400,height:300}).appendTo("body")
without bundler
<script src="node_modules/jquery/dist/jquery.js"></script>
<script src="node_modules/jsyg/dist/JSYG.js"></script>
<script>
JSYG("svg").attr({width:400,height:300}).appendTo("body")
</script>