Event:once 1.0

Adds a :once suffix to both Element and Class.Events event types. Once used, the selector will remove then event once it fired for the first time.



Details

Author
Arieh Glazer
Current version
1.0
GitHub
arieh/Event-once
Downloads
3100
Category
Utilities
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_: core/1.2.4 : [Core,Element.Event,Class.Extras]

How to use

For all event interfaces, simply do:


myElement.addEvent('click:once',function(){});

myClass.addEvent('foo:once',function(){});

Discuss

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