Hi Arne-Per, I don’t believe there is a way to do this currently with the v2 Javascript API. I’ll let you know if I get any new information.
How important is this issue to you? (e.g. nice to have, important, keeping you from buliding in V2, etc.).
I’ve added this as a product idea and knowing the importance will help it get categorized and prioritized appropriately.