SVGTransform doens't working on v2.1.2
joaoggnogueira opened this issue · comments
João Gabriel Gomes Nogueira commented
I'm using this import statement
import KUTE from "kute.js"
when I run this code
KUTE.allTo(
"rect, circle",
{ svgTransform: { rotate: 360 } },
{ repeat: 1, yoyo: true }
).start();
over this SVG
<svg id="morph-example" xmlns="http://www.w3.org/2000/svg">
<rect x="100" y="100" width="100" height="100" fill="blue" />
<circle r="50" cx="400" cy="150" fill="red" />
</svg>
Literally, nothing is happening, whats happening?
"kute.js": "^2.1.2",
Codepen
João Gabriel Gomes Nogueira commented
The KUTE.js works fine on version 2.0.2, but 2.1.2 dont
thednp commented
SVGTransform is not included in the default distribution file anymore. You can use the kute-extra.js
file for that.
Note: #104
João Gabriel Gomes Nogueira commented
@thednp Thanks for reply