Specifies data for the item related events.
Namespace: MindFusion.Common.UI
File: EventArgs.js
JavaScript Copy Code |
---|
// class |
The following code adds an event listener to the itemMouseDown event of a TreeView. The itemMouseDown event provides event data through ItemEventArgs object.
JavaScript Copy Code |
---|
var ui = MindFusion.Common.UI; // Create a new TreeView control. tree.itemMouseDown.addEventListener(nodeMouseDown); // This is the handler function for tree itemMouseDown event. |
MindFusion.Common.UI.EventArgs
MindFusion.Common.UI.ItemEventArgs