Skip to content

Receiving update/signal when user clicks on waveform canvas to change the play-head #179

Answered by Megidd
Megidd asked this question in Q&A
Discussion options

You must be logged in to vote

Well, sorry. I guess I figured it out:

ee.on("select", (start, end) => {
    // `start` is actually the click location in seconds!
    // Do something with `start`. 
});

Is it the right approach?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@naomiaro
Comment options

Answer selected by naomiaro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants