All, I know the Draggable
containment option can be set string values with these follow.
Parent
(Constrains dragging to within the bounds of parent element of current element),window
and document
.
but I don't know what is the difference between the window
and document
values. and I didn't found any api document for this two values. please help me understand it .thanks.