Dynamically create widgets

You can use the app object to catch the relevant events. In this case:

app.on('sessionOpened', (data, client)=>{
  receive('/EDIT', id, widget_data, {clientId: client.id})
})
2 Likes