Gets the Javascript event data.
Namespace: MindFusion.Common.UI
File: EventArgs.js
JavaScript Copy Code |
---|
get rawEventArgs() {} |
Object. The Javascript event data.
The following method handles a mouseDown event of a ListView and uses the rawEventArgs property of the args parameter that the event handler receives:
JavaScript Copy Code |
---|
// This is the handler function for a mouseDown event. function mouseDownEventHandler(sender, args) { if (args.rawEventArgs.button == 2) { var left = ui.Unit.pixel(args.rawEventArgs.clientX + 20); var top = ui.Unit.pixel(args.rawEventArgs.clientY); } } |