[TIMOB-11497] CodeProcessor: Add advanced event handler mechanism
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2016-08-24T20:11:09.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | Code Processor |
Labels | n/a |
Reporter | Ingo Muschenetz |
Assignee | Chris Barber |
Created | 2012-10-16T05:57:21.000+0000 |
Updated | 2017-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.
Code processor is dead.
Closing ticket as Code processor is no longer supported.