Forum Discussion
admhemed
8 years agoFrequent Visitor
destroy never triggers
Destroy event never ever triggers, I need this event to know when user removes the visual, any solution or work around? module powerbi.extensibility.visual { "use strict"; export...
admhemed
8 years agoFrequent Visitor
I'm saving state for each of my visuals, and I need to know when a user removes the visual to correctly update the state.
Currently I'm using a socket io disconnect event as a work around, but it is not good enough, because the socket disconnects when user refreshes the page for example.
v-viig
8 years agoCommunity Champion
Thanks for the clarification. PBI CV API team will work on this issue but there's no ETA.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals