Skip to content

YannickBochatay/JSYG.Container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSYG.Container

Container plugin for JSYG framework

Demo

http://yannickbochatay.github.io/JSYG.Container/

Installation

npm install jsyg-container

Example with es6 bundler

import Container from "jsyg-container"

let container = new Container()
container.appendTo('svg') //it's actually a g element

container.addItems("svg > *") //put elements inside the g element
container.translate(50,50).rotate(30) // apply transformation on group
container.freeItems() //free elements. They keep the transformation

About

Container plugin for JSYG framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published