[TIMOB-10376] TiAPI: event system: Event contents
| GitHub Issue | n/a |
|---|---|
| Type | Sub-task |
| Priority | Low |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | Release 3.0.0 |
| Fix Version/s | n/a |
| Components | TiAPI |
| Labels | api |
| Reporter | Blain Hamon |
| Assignee | Unknown |
| Created | 2012-08-09T15:10:43.000+0000 |
| Updated | 2018-02-28T20:03:19.000+0000 |
Description
All events have some common properties. (Also note properties added in TIMOB-10372 ). Certain classes of events (UI) have additional properties in common. Certain views add additional information to certain events. We should have parity.
Action items:
Properties common to all events:
Source
Type
Properties common to all touch events:X
Y
Properties common to all scroll events: * May not have contentOffset on Android possible. Properties common to all Table View events: Properties common to all Picker events: TODO: Look at docs.UPDATE: https://wiki.appcelerator.org/display/eng/Event+property+catalog There are a lot of overlap in properties and even more, common patterns that should be made better consistent. (For example, error handling should have 3 consistent properties: Success, code, error.)