Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11497] CodeProcessor: Add advanced event handler mechanism

GitHub Issuen/a
TypeStory
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2016-08-24T20:11:09.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsCode Processor
Labelsn/a
ReporterIngo Muschenetz
AssigneeChris Barber
Created2012-10-16T05:57:21.000+0000
Updated2017-03-20T20:26:56.000+0000

Description

Right now, event listeners are parsed like any other callback passed to a Ti API function. We should do something more advanced like pre-populating the event object and, if possible, even running it with the actual values in e. For example, if a button has a click event handler, we can set e.source. We will need to be careful though to make sure that the values are invariant before setting them in e. Note: this issue is colloquially referred to as the "Kitchen Sink Problem" because it was first surface, and severely affects, Kitchen Sink.

Comments

  1. Chris Barber 2016-08-24

    Code processor is dead.
  2. Lee Morris 2017-03-20

    Closing ticket as Code processor is no longer supported.

JSON Source