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

ion.sound.play() options #95

Open
ValentinPrivalov opened this issue Feb 28, 2019 · 0 comments
Open

ion.sound.play() options #95

ValentinPrivalov opened this issue Feb 28, 2019 · 0 comments

Comments

@ValentinPrivalov
Copy link

ValentinPrivalov commented Feb 28, 2019

Hello, I have problem with ended_callback in play() method options.
Volume changes, but callback does not call.

ion.sound.play(soundName, {
     volume: 0.1, // works
     ended_callback: () => console.log('played') // does not work
});

What do I do wrong?

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

1 participant