[TIMOB-27639] Documentation for events' properties
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-12-02T18:39:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 9.0.0 |
Components | TiAPI |
Labels | n/a |
Reporter | Sergey Volkov |
Assignee | Christopher Williams |
Created | 2019-11-20T12:51:58.000+0000 |
Updated | 2019-12-10T10:50:08.000+0000 |
Description
1. Current documentation validator considers "type" fiels for "properties" on "events" as optional.
Information about types must be always provided in documentation.
2. Validator does not allow "property" on "event" to be optional. Actually in the SDK they could be missing (for [example](https://github.com/appcelerator/titanium_mobile/blob/bf8a6bfd3ca17d3389cb6c8fc775886638226093/android/modules/ui/src/java/ti/modules/titanium/ui/widget/TiUIImageView.java#L520): "image" property on event "error" for "Titanium.UI.ImageView" on Android)
No comments