[TIMOB-18883] Windows: Allow registering event handlers with callback functions
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-06-11T05:29:01.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 4.1.0 |
Components | Windows |
Labels | n/a |
Reporter | Christopher Williams |
Assignee | Christopher Williams |
Created | 2015-05-07T22:41:17.000+0000 |
Updated | 2017-03-14T20:15:47.000+0000 |
Description
We should allow hooking and removing event handlers in a JS-like fashion and handling the conversion to the right native calls in native wrappers.
https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
We'll need to do some translation of event names and also mapping to various handlers/event registration types that Windows uses, as well as wrap the added handler with a call to the callback function.
Closing ticket as fixed.