pub fn draggable<E>(element: E, item: DragItem) -> Ewhere
E: StatefulInteractiveElement + Sized,Expand description
Makes element the handle of a drag carrying item.
GPUI decides when the press becomes a drag; this only says what is being carried and what the ghost looks like.