I'm possibly doing this wrong, but I'm trying to set a button to toggle the pep Grid feature on/off. Unless there's an easier way to do this, I'm trying to use $.pep.unbind($('.item')); to stop Pep, then re-enable pep with $('.item').pep({ ... }); with the grid settings enabled.
What ends up happening is, there are multiple instances of Pep on the same items, so they'll drag regularly, but then snap to the grid.
I'm possibly doing this wrong, but I'm trying to set a button to toggle the pep Grid feature on/off. Unless there's an easier way to do this, I'm trying to use $.pep.unbind($('.item')); to stop Pep, then re-enable pep with $('.item').pep({ ... }); with the grid settings enabled.
What ends up happening is, there are multiple instances of Pep on the same items, so they'll drag regularly, but then snap to the grid.
Is there an easy way to toggle options like this?