setConsumeRollupEvent

setConsumeRollupEvent( consume )
Return type: no return value

Controls whether or not the event that caused the popup to be automatically dismissed (or "rolled up") should be consumed or be dispatched as a normal event. If a non-default behavior is desired, this method should be called immediately prior to calling openPopup or openPopupAtScreen.

Possible values for consume are:

ROLLUP_DEFAULT
The default for the current platform.
ROLLUP_CONSUME
Consume the rollup event.
ROLLUP_NO_CONSUME
Don't consume the rollup event.
Note: This method did not work on Mac OS X prior to Gecko 1.9.2 (Firefox 3.6).

Document Tags and Contributors

Contributors to this page: Sheppy
Last updated by: Sheppy,