rive-app / rive-wasm

Wasm/JS runtime for Rive
MIT License
694 stars 49 forks source link

Extend Rive.contents to provide more file information #359

Open woro83c opened 1 month ago

woro83c commented 1 month ago

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.