Search
Picker.dropDownClose Event
See Also
 






Raised when the dropdown is closed.

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

 Syntax

JavaScript  Copy Code

EventDispatcher dropDownClose

 Event Data

The event handler method receives the following arguments:
sender
A Picker instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
An EventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.

 Example

The following code handles the dropDownClose event of an ImagePicker that derives from Picker:

JavaScript  Copy Code

picker.dropDownClose.addEventListener(handleDropDownClose);

function dropDownClose(sender, args)
{
  if(sender.imageIndex == 1)
  {
    //do something
  }
}

 See Also