Resolved: Qsplitter output value

In this post, we will see how to resolve Qsplitter output value


I have this Qsplitter:
Is there any way to save the splitterModel value on mouse drag or when the splitterModel value is changed? I want to use the values later on the app.

Best Answer:

Option 1
This can be achieved by using the splitter event @update:model-value seen in the docs here
Option 2
Can also just set up a watcher as explained here

If you have better answer, please add a comment about this, thank you!