-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Types: LinearAnimation vs LineraAnimationInstance #286
Comments
Is there a reason you need More here: https://help.rive.app/runtimes/overview/web-js/low-level-api-usage |
I need it to get the <canvas riv="poison-loader" width="500" height="500">
<riv-player #player="rivPlayer" name="idle" [time]="time"></riv-player>
</canvas>
<input type="range" step="0.1" (input)="time = $event.target.value" [min]="player.startTime" [max]="player.endTime" /> Here we can get the When you say you want to sunset the |
In the type the
LinearAnimationInstance
has properties likeworkStart
orworkEnd
, which are not accessible once we instantiate the class with theLinearAnimation
.https:/rive-app/rive-wasm/blob/master/js/src/rive_advanced.mjs.d.ts#L402
It would be better to differentiate the
LinearAnimation
provided in the constructor, which has these properties, from theLinearAnimationInstance
.It might be the same problem with the
StateMachine
&StateMachineInstance
The text was updated successfully, but these errors were encountered: