Question

The canonical use of gridster seems to be one where the entire object can be touched to indicate that a drag operation is to be started. Is it possible to limit that touchable region to a specific area (div) in the object, perhaps indicated by an icon of some sort? I'd like to be able to use gridster with objects that have other (mouse-sensitive) things in them, and I don't want the user (let along gridster :) getting confused about what's supposed to happen. Any thoughts?

Was it helpful?

Solution

Solved: the draggable config option can take a handle option, which specifies the thing to serve as the handle. cf. https://github.com/ducksboard/gridster.js/pull/59

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top