Closed tsball closed 8 years ago
I do not want user drag the whole box, can I limit the drag area in the title
<script type="text/javascript"> $(function(){ $(".gridster ul").gridster({ widget_margins: [10, 10], widget_base_dimensions: [140, 140], widget_selector: "li" } }); }); </script>
Refer to this issue: https://github.com/ducksboard/gridster.js/issues/490
How can I cancel the moving in my callback? I can not find a cancel property. draggable: { stop: function(event, ui){
}
fixed: http://gridster.net/demos/custom-drag-handle
I do not want user drag the whole box, can I limit the drag area in the title
. For example, now it can drag any area in the , I want to drag the and the whole moves.Refer to this issue: https://github.com/ducksboard/gridster.js/issues/490
How can I cancel the moving in my callback? I can not find a cancel property. draggable: { stop: function(event, ui){
}