mlinquan/vue-awesome-countdown

Triggering finish event just once

psico-digital opened this issue · 1 comments

There's a way to trigger finish event just once? I want to play an audio on finish, but every time I open the page with the countdown finished, the audio play again. Thanks.

You can use localStroage or cookie store your status,
When you visit next time, you can judge whether you should play your music through the stored state.