I am using styledlable module from appcelerator for iPhone. https://github.com/appcelerator/titanium_modules/blob/master/styledlabel/
In this module, it's using one web view to render styled content.
https://github.com/appcelerator/titanium_modules/blob/master/styledlabel/mobile/ios/Classes/TiStyledlabelLabel.m
and one click event, it call below code
[self.proxy fireEvent:@"click" withObject:[[NSDictionary alloc] initWithObjectsAndKeys: [url absoluteString], @"url", nil]];so on webview..if there is any link.. it will trigger click event and pass that link in url property.. This is working fine with me.
and if u click on any other place which is not link.. it does not trigger any event
What I need is when u click on non link (plain text) on webview, I need to fire some event..may be click, touchstart etc.. and I need to pass on one id as attribute (same like url for links)
How can I do that in native