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
It would be great if the Rive.contents property were extended to provide more information about the file contents. For example, if I could get a list of the text runs exported, it would allow me to build some type safety around the get/setTextRun APIs, so that we're not trying to update text on text runs that no longer exist.
The text was updated successfully, but these errors were encountered:
Hey @woro83c, we've released an experimental CLI tool (note that at this time it's still a work-in-progress), and we only provide instruction for building on Mac at this stage.
However, this tool can be used to parse a .riv file, and you can give it a custom Mustache template to generate any code/files you want.
Using this CLI you'd, for example, be able to generate a JSON file containing all of the text- and nested- text runs.
It would be great if the Rive.contents property were extended to provide more information about the file contents. For example, if I could get a list of the text runs exported, it would allow me to build some type safety around the get/setTextRun APIs, so that we're not trying to update text on text runs that no longer exist.
The text was updated successfully, but these errors were encountered: