How I will get values comes under selectbox of modeBarButtons.select2d?

How I will get values comes under selectbox of modeBarButtons.select2d

hereโ€™s an example: https://plot.ly/javascript/lasso-selection/