PDA

View Full Version : addListener in Observable vs EventManager



extAsplode
1 Dec 2010, 5:53 AM
In the API, the addListener method and equivalent "on" method accept an "options" parameter. If you look at the API for the Panel control, it says that addListener is defined in Observable. It seems that there is another addListener defined in EventManager, and there are more options available in the EventManager implementation than in the Observable one! Is this really the case, or is the API just missing the full list of options?

Specifically, I'm looking at the "stopPropagation" option which is listed under the EventManager's implementation of addListener and "on" but is conspicuously missing from the implementation of Observable in the API.

Thanks,
Andy