I have set my snap element of the draggable like so:
$('#id_num_'+id_num).draggable({snap:'.time_column', snapMode:'inner'})
How do I set up my draggable element to snap to two different elements or classes...like so:
$('#id_num_'+id_num).draggable({snap:'.time_column', '.**other class**', snapMode:'inner'})
How about
$('#id_num_'+id_num).draggable({snap:'.time_column,.other_class', snapMode:'inner'})
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With