Add support for dojo.continueEvent()
Scenario: a class calls this.inherited(arguments) and the inherited function calls dojo.stopEvent on the event. However, the subclass wants to "un-cancel" the event after this.inherited has been called.
I don't think it's a major issue - but if your event gets stopped when calling this.inherited(), it might be helpful to have the ability to "restart" it in some way.
Change History (5)
Description: |
modified (diff)
|
Reporter: |
changed from nathan to Nathan Toone
|
Component: |
General →
Events
|
Milestone: |
future →
1.9
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
dojo/on has support for pausable, which solves this issue:
pausable(target, type, listener, dontFix) Defined by dojo/on
This function acts the same as on(), but with pausable functionality. The returned signal object has pause() and resume() functions. Calling the pause() method will cause the listener to not be called for future events. Calling the resume() method will cause the listener to again be called for future events.