Constrain a Widget below a set top and left value

Hi I’m new to Webix and I was just wondering if there is a way to constrain a moveable widget within a given top and left value, or an x and a y. I have a moveable widget that I want to stay below “top: 300” and “left: 150”, it can move freely on the page as long as it is within those constraints.
Thank you!

Please check

http://webix.com/snippet/c1f462d8

It is quite easy to move a window back in the safe area. It is possible to prevent dragging the window outside of safe area as well, but will require messing with low-level drag events.

Thank you so much! That was exactly what I was looking for!