onViewMove
fires while view is moving
void onViewMove(object pos,Event e);
object | current position | | e |
Event | mouse event object |
Example
window.attachEvent("onViewMove", function(pos, e){
//code
});
Details
Position object (pos) contains coordinates:
- pos.x - horizontal offset;
- pos.y - versical offset.
The event fires each time the view is moved to the new position, so you'll have
multiple move events during the view moving.
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.