cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
giammariam Frequent Visitor
Frequent Visitor

Visualization Resize Event

Hello,

I'm trying to figure out a way to determine whether or not a custom visualiztion is currently being resized (via dragging the resize handles). I basically want to write some logic to not trigger an update until the resizing is complete.

 

I tried to add an on mousedown/mousemove function on the .resizeHandle divs but I was unable to select them because they were outside of the iframe.

 

Has anyone run into this?

1 ACCEPTED SOLUTION

Accepted Solutions
giammariam Frequent Visitor
Frequent Visitor

Re: Visualization Resize Event

Seems like I solved my own issue. It appears that this information can be found in the update options. By wrapping my update logic in a an if(options.type !== 4). Apparently options.type === 4 indicates resizing. 

1 REPLY 1
giammariam Frequent Visitor
Frequent Visitor

Re: Visualization Resize Event

Seems like I solved my own issue. It appears that this information can be found in the update options. By wrapping my update logic in a an if(options.type !== 4). Apparently options.type === 4 indicates resizing.