The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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?
Solved! Go to Solution.
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.
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.