draggable

fun <S : Inputtable> S.draggable(withX: Boolean = true, withY: Boolean = true, free: Boolean = false): S

Make this component draggable by the user with their mouse.

Parameters

free

if this is true, the component will be able to be dragged outside its parent. This is achieved by briefly removing this from its parent and adding it to the master.