Class App : removeEventHandler Method
Boolean removeEventHandler() |
Summary
Remove an event handler.
Returns
True if it removes the handler, false otherwise.
Examples
Code below installs an event handler for when listings import is finished and then removes the event handler so subsequent times don't call it again.function onMyNewListingsProcessingFinished( ) { alert( "Listings are finished downloading and being absorbed...w00t!" );
app.removeEventHandler( "onNewListingsProcessingFinished", onMyNewListingsProcessingFinished ) }
app.addEventHandler( "onNewListingsProcessingFinished", onMyNewListingsProcessingFinished ) |
See Also
App : addEventHandler
Requirements
1110
|