svelte-lottie-player
svelte-lottie-player copied to clipboard
Not able to listen to any events
How do I listen to events when using this library? The standard Svelte way doesn't work:
<LottiePlayer
on:frame={console.log}
on:stop={console.log}
bind:this={player}
src={Logo}
autoplay={true}
loop={true}
height={120}
width={120}
/>
any update on this ?
Hey just checking in on this, need this in our project too?
@yaeszlo Same here. Are you using svelte kit as well? Any update on this?
The funny thing is that if you use the vanilla lottie-player component, then the on:complete notation works fine.
isn't going to be fixed?