/JSYG

Core of JSYG framework

Primary LanguageJavaScriptMIT LicenseMIT

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>