How to register listener for updatemenus

I have a menu set up to animate between a few different datasets (example), and would like to be able to access the selected value elsewhere. Some of the documentation entries and type definitions suggest that there is a way to register a listener of some kind for changes to the dropdown, but I can’t find a page that explains how. Assuming this is possible, could someone link me to the documentation for it?

@rutmanz welcome!

Are you talking about plotly or dash? In dash this would be pretty easy to do.

Just plotly, not dash

Is this the info you need?