jQuery.Drag.prototype.limit  function     

plugin: jquery/event/drag/limit

limits the drag to a containing element

drag.limit(container, center) -> undefined
{jQuery}
{optional:Object}

can set the limit to the center of the object. Can be 'x', 'y' or 'both'

© Jupiter IT - JavaScriptMVC Training and Support