LottieFiles / svelte-lottie-player

Lottie Player component for Svelte
MIT License
135 stars 16 forks source link

Not able to listen to any events #8

Open yaeszlo opened 2 years ago

yaeszlo commented 2 years ago

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}
    />
sajwanAshish commented 2 years ago

any update on this ?

ivanempire commented 2 years ago

Hey just checking in on this, need this in our project too?

mig-hub commented 11 months ago

@yaeszlo Same here. Are you using svelte kit as well? Any update on this?

mig-hub commented 10 months ago

The funny thing is that if you use the vanilla lottie-player component, then the on:complete notation works fine.

diegoulloao commented 6 months ago

isn't going to be fixed?