Incorrect reference to corresponding method in MorphSVGPlugin.rawPathToString() docs
Hi GreenSock team 👋
I was reviewing the documentation for MorphSVGPlugin.rawPathToString() here:
https://gsap.com/docs/v3/Plugins/MorphSVGPlugin/static.rawPathToString/
At the end of that section, the docs mention:
"There is also a corresponding MorphSVGPlugin.rawPathToString() method so that you can convert back and forth."
I believe this may be a copy-paste error. Since we are already in the documentation of rawPathToString(), the correct corresponding method should be MorphSVGPlugin.stringToRawPath().
That way, the two functions can be seen as converting:
-
RawPath → string: withrawPathToString() -
string → RawPath: withstringToRawPath()
In contrast, the documentation for stringToRawPath() does correctly mention rawPathToString() as its counterpart:
https://gsap.com/docs/v3/Plugins/MorphSVGPlugin/static.stringToRawPath/
Just wanted to help improve the clarity of the docs.
Hey, I’d like to work on this issue and help get it fixed. I’ve gone through the problem and I think I can contribute a solid solution. Please assign this to me if it’s available.
Fixed. Thanks for reporting that!