Purpose: A simple and elegant delay method that can be easily self cleared without the need to add external variables
Simply include Function.simpleDelay.js along with MooTools 1.3. The delay can be invoked on any function by simply calling:
To clear the delay, simply call the clear method:
There is no need to assign the delay to a variable like the normal MooTools delay method.
See Docs/example.html and the Source/Function.simpleDelay.js for more example uses and arguments.
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.blog comments powered by Disqus