Help
addListener
Registers a listener for an event. The Frame API calls the specified handler when the event fires. If your component is hosted inside an iFrame, to prevent memory leaks and possible bugs, ensure your component calls removeListener in its window.unload() event.
Syntax
addListener(String eventName, Function handler, Object scope, Object options) : void
Parameters
Returns
void