RasterControl.setDropHandler( dropHandler )

Specifies a user-defined event handler to be is notified when a mouse drag operation occurs over the control. The event handler will have the following signature:
function onDragDrop( rasterMouseEvent )
{
   // process drag n' drop event
}

Parameters

Name Type   Description
dropHandler function Pointer to the drop and drop event handler function. Set to null to remove any previously set handler.

Returns

Type Description
object The control object. This allow for chaining multiple setter methods in one single statement.

See Also

Home Examples Download License
 
Copyright © 2010-2017 Edwin R. López