Forum Discussion

callum's avatar
callum
Icon for Helper II rankHelper II
9 years ago
Solved

Only calling update when visual size has "settled"

I have a visual that performs a lot of calculations when the update() method is called.   Normally this is fine, for example when I just click the refresh button it works fine.   However, I reali...
  • MeQT's avatar
    9 years ago

    Hey,

     

    for me this worked quite nice

    public update(options: VisualUpdateOptions){
         if(options.type == VisualUpdateType.ResizeEnd)
         {
            // code here
         }
    }