Open natee opened 7 years ago
angular-gridster allows us to disable draggable when click some elements, but there were no documents about how to use it.
// only works if you have jQuery if ($target.closest && $target.closest('.gridster-no-drag').length) { return false; }
.directive('gridsterNoDrag', function() { return { restrict: 'A', link: function(scope, $element) { $element.addClass('gridster-no-drag'); } }; })
angular-gridster allows us to disable draggable when click some elements, but there were no documents about how to use it.