Skip to content
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

Not able to listen to any events #8

Open
yaeszlo opened this issue Feb 5, 2022 · 5 comments
Open

Not able to listen to any events #8

yaeszlo opened this issue Feb 5, 2022 · 5 comments

Comments

@yaeszlo
Copy link

yaeszlo commented Feb 5, 2022

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
Copy link

any update on this ?

@ivanempire
Copy link

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

@mig-hub
Copy link

mig-hub commented Jan 4, 2024

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

@mig-hub
Copy link

mig-hub commented Jan 5, 2024

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

@diegoulloao
Copy link

isn't going to be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants