This is a migrated thread and some comments may be shown as answers.

How to view event arguments

1 Answer 30 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 12 Mar 2015, 02:00 PM
Is there a document somewhere that lists the available properties of the arguments passed along in events?

Like swipe has direction (args.direction?)...but where is that actually documented.  In a webapp I'd just use a debugger to inspect the args object to see the properties I can use, but I'm unsure how to do that here...JSON.stringify just seems to crash the app when I try that.

1 Answer, 1 is accepted

Sort by
0
Wei
Top achievements
Rank 2
answered on 12 Mar 2015, 08:57 PM
Hi Steve, it would be very helpful if you also git clone the cross-platform-modules, quite useful to read its source code
Tags
General Discussions
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Wei
Top achievements
Rank 2
Share this question
or