Experimental: this API is experimental and might be changed or removed in the future.

Dragger.clampToParentEdges

切换到手册
public bool clampToParentEdges ;

描述

如果为 true,它将不允许拖动的元素退出父元素的边缘。