Get your own customer support community
 

How Do I Use the ViewportEvent.TRANSFORM_END Event?

Edited on 09/05/09
Hello,

I was hoping you could explain exactly when the ViewportEvent.TRANSFORM_END fires. I noticed when the MultiScaleImage initially loads, before any interaction occurs, the event fires three times. I thought that the event might fire for each tile in the MultiScaleImage, but I don't think there would ever be only three tiles (or any prime number of tiles).

Additionally, I'm uncertain about how the event works with user interaction. It seems the event fires multiple times in a simple pan interaction before the image is visibly done panning. Sometimes the event seems to fire after a small delay after the image is visibly done panning.

Any explanation would be greatly appreciated and thank you for the excellent work on OpenZoom.
 
sad I’m confused
Inappropriate?
2 people have this question

The company marked this question as answered.

See the changes made to this question
User_default_medium