Via `updatemenus[i].buttons.[i].method='skip'` and listening for the `plotly_buttonclicked` event. https://github.com/plotly/plotly.js/pull/1699#issuecomment-302376202