This method is called whenever an event occurs of the type for which the EventListener interface was registered.

Documentation EventListener by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Methods