SplitPanel remember position

Hello,
I’d like to allow my application to remember the position of the splitter in a SplitPanel. I think that listening to a
SpliterPositionChanged
event of some sort would be the key. I could then save the position to the user’s preferences and set it up the next time the users loads that page. Is there any way to do this in Vaadin?
Thank you!