#13069 closed enhancement (fixed)
connectOnce functionality
Reported by: | tanneman | Owned by: | Kris Zyp |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Events | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Dojo used to have a dojo.(event.)connectOnce function but this is no longer available. Can this functionality be added again to the dojo api?
Change History (3)
comment:1 Changed 10 years ago by
Component: | General → Events |
---|---|
Owner: | set to Kris Zyp |
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 10 years ago by
Milestone: | tbd → 1.7 |
---|
Note: See
TracTickets for help on using
tickets.
FWI, IIRC everyone thought connectOnce(node, event, func) would only call func once, the next time the specified event occurred, but what it actually did was to check if there was already a handler registered for func.