Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18883] Windows: Allow registering event handlers with callback functions

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-06-11T05:29:01.000+0000
Affected Version/sn/a
Fix Version/sRelease 4.1.0
ComponentsWindows
Labelsn/a
ReporterChristopher Williams
AssigneeChristopher Williams
Created2015-05-07T22:41:17.000+0000
Updated2017-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.

Comments

  1. Lee Morris 2017-03-14

    Closing ticket as fixed.

JSON Source