Search
InteractionType Enumeration
See Also
 






Specifies a type of interaction.

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

 Syntax

JavaScript  Copy Code

// enum
InteractionType = {}

 Members

  Member name Value Description

Drag

0

Indicates drag interaction.

Resize

1

Indicates resize interaction.

 Example

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

 See Also