v1.0.0 - Lifecycle outputs
@grandgular/rive-angular v1.0.0
First stable release under. Adds animation lifecycle outputs (aligned with @rive-app/canvas callbacks) and re-exports LoopType and LoopEvent. Changes are additive relative to v0.4.0 — no breaking changes.
What’s new
| Output | Role |
|---|---|
animationPlay / animationPause / animationStop |
Play / pause / stop (RiveEvent, EventType) |
animationLoop |
Loop iteration finished; event.data is LoopEvent |
animationAdvance |
Per-frame advance (high frequency; emitted outside NgZone.run) |
isPlaying / isPaused signals behave as before; the new outputs expose the same lifecycle as events.
<rive-canvas
src="animation.riv"
(animationPlay)="onPlay($event)"
(animationLoop)="onLoop($event)"
/>Details
See CHANGELOG.md and the library README.