Adding custom buttons for triggering plotly's functionalities

Hi team,
We are having a requirement to trigger different menu functionalities (available in modeBarButtons) of Plotly chart from our own settings menu. We are not able find any exported functions for these. Anyone please help me on this .

Yep, these functions arenโ€™t part of our official API (yet).

You can require this

source file, at your own risk.