Specifies a type of interaction.
Namespace: MindFusion.Common.UI
File: DropDown.js
JavaScript Copy Code |
---|
// enum |
Member name | Value | Description | |
---|---|---|---|
Drag |
0 | Indicates drag interaction. |
|
Resize |
1 | Indicates resize interaction. |
The following method handles the 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); } } |