Skip to content

Region resize start handler #3519

Answered by katspaugh
Olejqua asked this question in Q&A
Jan 26, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Regions have an update event, and it sends a side parameter which tells you from which side it's resized. If it's not passed, it's not resized but moved.
See the docs: https://wavesurfer.xyz/docs/types/plugins_regions.RegionEvents

Replies: 1 comment 1 reply

Comment options

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

Answer selected by Olejqua
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