samedi 3 janvier 2015

How do you temporarily disable and then enable a Javascript Waypoint?


I'm afraid I can't find the full documentation for Waypoints.


If I define a waypoint like this:



$('#my-id').waypoint(function(e) {
//do stuff
})


How do I disable the waypoint on the id temporarily, so that I would be able to re-enable it at a later point of time?





Aucun commentaire:

Enregistrer un commentaire