drag-check-js icon indicating copy to clipboard operation
drag-check-js copied to clipboard

jQuery allow chaining by returning the set of elements

Open JPustkuchen opened this issue 7 years ago • 1 comments

.dragCheck() doesn't return self (the jQuery object) so it's not possible to chain calls:

$(':checkboxes').dragCheck().css(...); is not possible, but should be

$(':checkboxes').css().css(...); allows chaining (good example)

JPustkuchen avatar Feb 21 '18 13:02 JPustkuchen

Ok as I just saw it returns the DragCheck object... so this should be discussed first... and be solved the jQuery way then...

JPustkuchen avatar Feb 21 '18 13:02 JPustkuchen