Search
InteractionEventArgs.rawEventArgs Property
See Also
 






Gets the Javascript event data.

Namespace: MindFusion.Common.UI
File: EventArgs.js

 Syntax

JavaScript  Copy Code

get rawEventArgs() {}

 Property Value

Object. The Javascript event data.

 Example

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);
     }
}

 See Also