6

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?

Jim Miller
  • 3,291
  • 4
  • 39
  • 57

1 Answers1

8

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

Jim Miller
  • 3,291
  • 4
  • 39
  • 57