Subcribes an event listener to this event.
Namespace: MindFusion.Common
File: EventDispatcher.js
JavaScript Copy Code |
---|
function addEventListener (handler) |
function. The handler function.
The following code handles the controlUnload event of the Window class.
JavaScript Copy Code |
---|
// Handle the controlUnload event. // This is the handler function of the wndow1.controlUnload event. } |