svgdotjs / svg.js

The lightweight library for manipulating and animating SVG
https://svgjs.dev
Other
11.04k stars 1.08k forks source link

Allow strings to be passed as transform origin on TS #1168

Closed melon3r closed 3 years ago

melon3r commented 3 years ago

We need this to be able to pass strings like "top-right" or "center" as transform origin on TypeScript, as they're already supported on JavaScript.

@neomorfeo

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 99.889% when pulling 52150ea9f3273cccfae38e96d6f1428fd79be158 on melon3r:patch-1 into 9986cefa00f6261ab1ffca9911a4df74167fe217 on svgdotjs:master.