Infinte vertical draggable line that returns x coordinate to modify a dataframe?

I would like to add an element in my figure that can be moved horizontally, best would be an infinite vertical line. Then I would like to use its new x-coordinate to update a dataframe. Is that easy to do in with plotly?


I believe that you can do this with a layout.shape, editable=True, and listening to the relayoutData property

I tried that. It did not work so far. Maybe that feature is outdated??