You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you extract out or expose the transformation decomposition, manipulation, and recompose logic?
Specifically, parseSvg has been very useful to build the object from the attribute, and it'd be nice if the "build the CSS string from the transform JSON" logic was also exposed (instead of closed over in the interpolation logic).
You’re welcome to fork the code (or just parse.js and decompose.js) and expose it as a new microlibrary, but personally, I’m not sufficiently convinced that the proposed API is useful enough to want to maintain such a library myself. See also d3-transform (for 3.x).
Can you extract out or expose the transformation decomposition, manipulation, and recompose logic?
Specifically,
parseSvg
has been very useful to build the object from the attribute, and it'd be nice if the "build the CSS string from the transform JSON" logic was also exposed (instead of closed over in the interpolation logic).https://github.com/d3/d3-interpolate/tree/master/src/transform
https://github.com/d3/d3-interpolate/blob/master/src/transform/index.js
Is there a good reason to not make this functionality a dedicated micro library?
d3-transform-matrix
?d3-css-transform
?In charge of:
The text was updated successfully, but these errors were encountered: