Javascript How Use Plotly Click And Plotly Selected Simultaneously

Javascript How Use Plotly Click And Plotly Selected Simultaneously