onViewMove

fires while view is moving

void onViewMove(object pos,Event e);
posobjectcurrent position
eEventmouse 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
If you have not checked yet, be sure to visit site of our main product Webix ui library and page of html5 context menu product.