Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

需要绑定只执行一次的事件的方法once #7

Closed
mytharcher opened this issue Feb 28, 2012 · 0 comments
Closed

需要绑定只执行一次的事件的方法once #7

mytharcher opened this issue Feb 28, 2012 · 0 comments
Labels
Milestone

Comments

@mytharcher
Copy link
Owner

如题,需要对js.dom.Event类增加once()静态方法。用例:

js.dom.Event.once(element, type, handler[, delegate]);

只执行一次后自动移除监听。

mytharcher added a commit that referenced this issue Mar 25, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant