Starting from issue 326 and the subsequent pull 328, I’m wondering if there’s a way to get inside Uppy which was the button (DOM element I mean) that triggered the opening of the dashboard. This can be useful for me to slightly change the upload behavior depending on the upload intension of the user (and so the different buttons).
The only idea that I come up with is not a pretty one: to listen on the click of the buttons and then set a global variable that can be read inside uppy.
Thank you!